Which is not valid in C?
1) class aClass{public:int x;}
2) /* A comment */
3) char x=12;
Answer Posted / deepthi
1) class aclass{public:int x;}
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
write a program to display all prime numbers
Do character constants represent numerical values?
What is calloc()?
What are the different data types in C?
Differentiate between full, complete & perfect binary trees.
Is void a keyword in c?
Why c is called object oriented language?
what are # pragma staments?
Explain what is a stream?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
The __________ attribute is used to announce variables based on definitions of columns in a table?
Can you add pointers together? Why would you?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
What is the difference between a function and a method in c?
Explain what are global variables and explain how do you declare them?