Computer Science, asked by kanojiyarishabhkumar, 1 month 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