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
1280typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
1202What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
1259What 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
1117If 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
1066cin.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
1110main(){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
1365a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
1005a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
1080a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above
1117a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
1282a 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
1043a value that does not change during program execution a) variabe b) argument c) parameter d) none
1238in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none
1104
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
What is actual argument?
What do you mean by c what are the main characteristics of c language?
c language interview questions & answer
What is the modulus operator?
code for find determinent of amatrix
How do you define structure?
Where are the auto variables stored?
Which are low level languages?
How is a pointer variable declared?
Does c have function or method?
What are keywords c?
What is difference between union All statement and Union?
What is the general form of a C program?
Explain 'bit masking'?