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 string constants?
explain what are pointers?
what is a constant pointer in C
Explain what is the benefit of using enum to declare a constant?
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
Explain data types & how many data types supported by c?
What is hashing in c?
Explain how do you list a file’s date and time?
Write a program to print factorial of given number without using recursion?
Can an array be an Ivalue?
How to throw some light on the b tree?
What is the use of sizeof () in c?
What is a example of a variable?
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
Which is the memory area not included in C program? give the reason