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

Is a house a mass structure?

1154


Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent

1873


How will you write a code for accessing the length of an array without assigning it to another variable?

1094


What is the difference between declaring a variable by constant keyword and #define ing that variable?

3440


Why we use int main and void main?

1119


What is difference between function overloading and operator overloading?

1141


What is the advantage of c?

1204


Write a program to identify if a given binary tree is balanced or not.

1231


What is the advantage of an array over individual variables?

1293


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

3784


Explain the array representation of a binary tree in C.

1284


How to throw some light on the b tree?

1153


Explain the difference between strcpy() and memcpy() function?

1065


Why is c not oop?

1038


Explain what are the advantages and disadvantages of a heap?

1129