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...

C Interview Questions
Questions Answers Views Company eMail

This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory

1290

typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none

1207

What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers

1261

Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above

1152

What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file

1120

If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above

1073

cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration

1112

main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none

1373

a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list

1007

a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler

1085

a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above

1122

a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none

1287

a linear linked list such that the link field of its last node points to the first node instead of containing NULL a) linked list b) circular linked list c) sequential linked list d) none

1046

a value that does not change during program execution a) variabe b) argument c) parameter d) none

1246

in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none

1113


Post New C Questions

Un-Answered Questions { C }

Not all reserved words are written in lowercase. TRUE or FALSE?

1239


What is the purpose of 'register' keyword in c language?

1033


Can you please explain the difference between exit() and _exit() function?

1039


How does #define work?

1087


1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

2161


What is structure in c explain with example?

1169


How can I change the size of the dynamically allocated array?

1156


What is the size of array float a(10)?

1151


What are identifiers and keywords in c?

1109


What does sizeof return c?

1076


What is c token?

1080


What are dangling pointers? How are dangling pointers different from memory leaks?

1330


Explain the use of function toupper() with and example code?

1138


What is the difference between class and object in c?

1183


What will the preprocessor do for a program?

1085