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


Please Help Members By Posting Answers For Below Questions

Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.

655


How do you determine whether to use a stream function or a low-level function?

645


Tell me when is a void pointer used?

644


What are the types of functions in c?

570


What are the three constants used in c?

542






i got 75% in all semester am i eligible for your company

1733


Why is c called a structured programming language?

675


How can you determine the size of an allocated portion of memory?

736


What is a dynamic array in c?

589


Explain why C language is procedural?

766


A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream

666


the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function

756


Explain what is the difference between null and nul?

650


What is context in c?

538


How can a program be made to print the name of a source file where an error occurs?

727