Computer Science, asked by kanojiyarishabhkumar, 2 days ago

If we want to store string “COMPUTER” in array then what will be the syntax.

Answers

Answered by singhanshuman1020
0

Answer:

In C =>

char * str = "This is a string.";

In C++ =>

#include <string>

string str = "This is a string.";

In Python =>

str = "This is a string."

Like and Mark as Brainliest, it really motivates!

Similar questions