Which is not valid in C?
1) class aClass{public:int x;}
2) /* A comment */
3) char x=12;
Answer Posted / sourisengupta
1) class aClass{public:int x;}
3) char x=12;
these twoo are not valid in c.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How are variables declared in c?
What is the purpose of main( ) in c language?
What is a char c?
What are void pointers in c?
What are bitwise shift operators in c programming?
What is c++ used for today?
Why c is called procedure oriented language?
What is structure in c definition?
How can a number be converted to a string?
Explain how do you use a pointer to a function?
what is the format specifier for printing a pointer value?
What oops means?
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
Why does not c have an exponentiation operator?
Can a pointer be null?