Knowee
Questions
Features
Study Tools

Which of the following declaration is not supported by C language?String str;Both “String str;” and “float str = 3e2;”float str = 3e2;char *str;Clear my choice

Question

Which of the following declaration is not supported by C language?String str;Both “String str;” and “float str = 3e2;”float str = 3e2;char *str;Clear my choice

🧐 Not the exact question you are looking for?Go ask a question

Solution

The declaration "String str;" is not supported by C language. In C, strings are usually declared as an array of characters or as a pointer to a character. The "String" data type is not recognized in C.

Similar Questions

Which of the following is a valid declaration of a char?char ch = '\utea';char ca = 'tea';char cr = \u0223;char cc = '\itea';

Which one of the following declarations is correct?Select one:int long;char int;int length;float double;

What is the problem in the following C declarations? int func(int); double func(int); int func(float);

Which of the following is not a basic data type in C language?a.floatb.intc.chard.realClear my choice

Which of the following is NOT a valid way to declare a variable in C?

1/3

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.