Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Which is not valid in C?




1) class aClass{public:int x;}


2) /* A comment */


3) char x=12;


Answer Posted / sriharsha

I think char x=12 is also not valid

Because 1.maximum length of the character can be 1 character
2.It should enclosed within single inverted commas, like
'1',or 'a'.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the two types of structure?

1096


Explain the difference between call by value and call by reference in c language?

1117


What are predefined functions in c?

1112


write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?

2871


Why c is called procedure oriented language?

1061


What is a #include preprocessor?

1163


What are header files? What are their uses?

1223


Explain Function Pointer?

1187


How can I write functions that take a variable number of arguments?

1139


What’s a signal? Explain what do I use signals for?

1119


What is string length in c?

1114


Is Exception handling possible in c language?

2049


What are the data types present in c?

1173


What is pivot in c?

1035


How can you read a directory in a C program?

1152