Which is not valid in C?
1) class aClass{public:int x;}
2) /* A comment */
3) char x=12;
Answer Posted / sridhar
1)is valid in case of objective C
2)thts a valid comment
3)its invalid
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is void main ()?
What are the types of assignment statements?
What is wrong with this program statement?
How would you obtain the current time and difference between two times?
What is the difference between null pointer and wild pointer?
What is #pragma statements?
What is the difference between malloc() and calloc() function in c language?
Differentiate between Macro and ordinary definition.
What is the translation phases used in c language?
Can we assign string to char pointer?
Are pointers integer?
Not all reserved words are written in lowercase. TRUE or FALSE?
what is the format specifier for printing a pointer value?
Explain what are multidimensional arrays?
What does the characters “r” and “w” mean when writing programs that will make use of files?