Which is not valid in C?
1) class aClass{public:int x;}
2) /* A comment */
3) char x=12;
Answer Posted / k.kavitha
class aClass{public:int x;}
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
What is the use of function in c?
How are pointers declared in c?
What is a nested formula?
What is the benefit of using #define to declare a constant?
Is there a way to switch on strings?
Is c compiled or interpreted?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
The difference between printf and fprintf is ?
What is realloc in c?
What is the difference between a function and a method in c?
What is a memory leak? How to avoid it?
How can I sort more data than will fit in memory?
What does typedef struct mean?
What is the value of uninitialized variable in c?