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
is it possible to create your own header files?
What are data types in c language?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
What does void main () mean?
What are derived data types in c?
What does sizeof return c?
What is the purpose of main() function?
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
What are disadvantages of C language.
What is the acronym for ansi?
What is the method to save data in stack data structure type?
What are the rules for the identifier?
What is the scope of global variable in c?
Does free set pointer to null?