Write one statement equalent to the following two statements
x=sqr(a);
return(x);
Choose from one of the alternatives
a.return(sqr(a));
b.printf("sqr(a)");
c.return(a*a*a);
d.printf("%d",sqr(a));
Answer Posted / saranya
both a and d is possible
a: which returns the value of sqr(a)
d:it prints the value of the sqr(a)
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the right way to use errno?
What is a stream in c programming?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
What is a program flowchart and how does it help in writing a program?
Why c is procedure oriented?
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
what is reason of your company position's in india no. 1.
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
Can we declare function inside main?
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
How can I manipulate strings of multibyte characters?
What is difference between far and near pointers?
What are the types of pointers in c?
write a program to rearrange the array such way that all even elements should come first and next come odd
What is default value of global variable in c?