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
Can the “if” function be used in comparing strings?
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc
Who invented bcpl language?
What is #line used for?
Explain bit masking in c?
What does c mean before a date?
How are 16- and 32-bit numbers stored?
Is c compiled or interpreted?
how to write a c program to print list of fruits in alpabetical order?
How to declare pointer variables?
When the macros gets expanded?
What are the 4 data types?
How many parameters should a function have?
Why is python slower than c?
List some of the static data structures in C?