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 ur strangth & weekness
What is the difference between c &c++?
What are the uses of null pointers?
How can you restore a redirected standard stream?
how we can make 3d venturing graphics on outer interface
How do you define structure?
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
using for loop sum 2 number of any 4 digit number in c language
What is equivalent to ++i+++j?
What is a pointer in c?
What is cohesion and coupling in c?
Explain can the sizeof operator be used to tell the size of an array passed to a function?
Can we declare function inside main?
Explain what is a program flowchart and explain how does it help in writing a program?
What is a structure member in c?