Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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));

Answers were Sorted based on User's Feedback



Write one statement equalent to the following two statements x=sqr(a); return(x); Choose fr..

Answer / priyanka nigam

return(sqr(a)); is the ans

Is This Answer Correct ?    21 Yes 0 No

Write one statement equalent to the following two statements x=sqr(a); return(x); Choose fr..

Answer / fazlur rahaman naik

a will b the answer.

Is This Answer Correct ?    17 Yes 0 No

Write one statement equalent to the following two statements x=sqr(a); return(x); Choose fr..

Answer / shruti

i think both a and d will work..

Is This Answer Correct ?    6 Yes 1 No

Write one statement equalent to the following two statements x=sqr(a); return(x); Choose fr..

Answer / 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

Write one statement equalent to the following two statements x=sqr(a); return(x); Choose fr..

Answer / anjana jayaraj

only answer d is correct

Is This Answer Correct ?    0 Yes 0 No

Write one statement equalent to the following two statements x=sqr(a); return(x); Choose fr..

Answer / pradeep kumar.s

My Option Is d


since the printf statement is capable of having two
functionalities
1, display the message in output screen
2, calls the function and return the answer here.

Is This Answer Correct ?    2 Yes 4 No

Post New Answer

More C Interview Questions

HOW TO ANSWER IF ASKED " WHAT KIND OF A PERSON ARE YOU?" I NEED AN ANSWER THAT IMPRESS THE INTERVIEWER

4 Answers  


who did come first hen or agg

15 Answers   Infosys,


what is the use of getch() function in C program.. difference b/w getch() and getche()??

29 Answers   HCL, IBM, Infosys, TCS, Wipro,


where does it flourished?

0 Answers   Microsoft,


main() { char p[] = "hello world!"; p = "vector"; printf("%s",p); }

2 Answers   Vector, Vector India,


what is function pointer?

2 Answers   Wipro,


How to establish connection with oracle database software from c language?

0 Answers  


write a program to display numbers from 1 to 10 and 10 to 1?

2 Answers  


Is c pass by value or reference?

0 Answers  


An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode

0 Answers  


printf("%d",(printf("Hello")); What it returns?

32 Answers   TCS,


Explain 'bit masking'?

0 Answers   EXL,


Categories