Which is not valid in C?
1) class aClass{public:int x;}
2) /* A comment */
3) char x=12;
Answer Posted / chandrashekhar
1) Is invalid
3)is also invalid
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Where define directive used?
The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
What is the heap in c?
What is time complexity c?
Explain what does a function declared as pascal do differently?
Why is extern used in c?
What is the difference between formatted&unformatted i/o functions?
How can a program be made to print the name of a source file where an error occurs?
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
Multiply an Integer Number by 2 Without Using Multiplication Operator
What is the argument of a function in c?
Which header file is used for clrscr?
What is main () in c language?
List the difference between a While & Do While loops?