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

Write a program to generate the first n terms in the series --- 2,3,5,7,11,...,17

0 Answers  


What are the various topologies? Which one is the most secure?

2 Answers  


a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);

0 Answers   Wilco,


Why cann't whole array can be passed to function as value.

1 Answers  


Lists the benefits of c programming language?

0 Answers  


What compilation do?

7 Answers   Geometric Software, Infosys,


What is diffrance between declaration and defination of a variable or function

4 Answers  


second highest number in a given set of numbers

3 Answers   TCS,


what is the difference between postfix and prefix unary increment operators?

3 Answers  


how does the C compiler interpret the following two statements p=p+x; q=q+y; a.p=p+x; q=q+y b.p=p+xq=q+y c.p=p+xq; q=q+y d.p=p+x/q=q+y

4 Answers   TCS,


How to swap 3 numbers without using 4th variable?

5 Answers  


A MobileNumber is a VIP number if it satisfy the following conditions. The operator should be Vodafone. Atleast one 0 (Zero) should be exist in mobile number. The number should not end with 8. The single digit sum of all the digits in the number should be equal to 9. For example if the number is 9876543210, the sum is 9+8+7+...+1+0 = 45. Sum of 4+5 = 9. Write a method: private boolean isVIPMobileNumber(String mobileNum, String operator) mobileNum phone number operator mobile operator as bsnl, Vodafone

1 Answers  


Categories