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
1290typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
1207What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
1261What 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
1120If 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
1073cin.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
1112main(){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
1373a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
1007a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
1085a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above
1122a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
1287a 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
1046a value that does not change during program execution a) variabe b) argument c) parameter d) none
1246in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none
1113
Not all reserved words are written in lowercase. TRUE or FALSE?
What is the purpose of 'register' keyword in c language?
Can you please explain the difference between exit() and _exit() function?
How does #define work?
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.
What is structure in c explain with example?
How can I change the size of the dynamically allocated array?
What is the size of array float a(10)?
What are identifiers and keywords in c?
What does sizeof return c?
What is c token?
What are dangling pointers? How are dangling pointers different from memory leaks?
Explain the use of function toupper() with and example code?
What is the difference between class and object in c?
What will the preprocessor do for a program?