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
1339typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
1245What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
1306What 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
1159If 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
1106cin.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
1153main(){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
1410a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
1048a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
1128a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above
1174a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
1330a 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
1081a value that does not change during program execution a) variabe b) argument c) parameter d) none
1290in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none
1155
What is indirection?
Explain how can you tell whether a program was compiled using c versus c++?
What does c mean before a date?
Can you write a programmer for FACTORIAL using recursion?
Why are algorithms important in c program?
When should the volatile modifier be used?
Explain two-dimensional array.
What is 'bus error'?
What is a stream water?
Explain the difference between strcpy() and memcpy() function?
What is use of pointer?
What should malloc() do?
process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,
What is a static function in c?
Write a program to print "hello world" without using a semicolon?