Which is not valid in C?
1) class aClass{public:int x;}
2) /* A comment */
3) char x=12;
Answer Posted / bhavesh kashikar
1) class aClass{public:int x;}
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Are there constructors in c?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
Can the sizeof operator be used to tell the size of an array passed to a function?
What are structures and unions? State differencves between them.
Why do we use & in c?
Why is structure padding done in c?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
Is c programming hard?
diff between exptected result and requirement?
What is the benefit of using const for declaring constants?
What are the similarities between c and c++?
What are the advantages of using macro in c language?
What is static and auto variables in c?
Explain how can you restore a redirected standard stream?
What are the string functions? List some string functions available in c.