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


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Explain the priority queues?

0 Answers  


write a progam to compare the string using switch case?

1 Answers  


write a program to convert a expression in polish notation (postfix) to inline (normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix

0 Answers  


#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

0 Answers  


What is the difference between File pointer and Internal Charecter Pointer?

2 Answers   TATA,






What will be result of the following program? void myalloc(char *x, int n) { x= (char *)malloc(n*sizeof(char)); memset(x,\0,n*sizeof(char)); } main() { char *g="String"; myalloc(g,20); strcpy(g,"Oldstring"); printf("The string is %s",g); } a) The string is : String b) Run time error/Core dump c) The string is : Oldstring d) Syntax error during compilation e) None of these

3 Answers   IBM,


What does %p mean c?

0 Answers  


How can I remove the trailing spaces from a string?

0 Answers   Aspire,


void swap(int a,int b) { a=a+b; b=a-b; a=a-b; } in this code always gives the same result for all case

9 Answers   Accenture, TCS,


In C language what is a 'dangling pointer'?

0 Answers   Accenture,


Is c call by value?

0 Answers  


‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.

0 Answers  


Categories