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 table lookup in c?
What is sizeof int?
What are the 5 elements of structure?
Why malloc is faster than calloc?
Explain the use of #pragma exit?
List some of the static data structures in C?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
Difference between macros and inline functions? Can a function be forced as inline?
What is define c?
What is strcmp in c?
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
Where in memory are my variables stored?
What do you mean by a sequential access file?
Why is c called c?
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?