Difference between Function to pointer and pointer to function


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

Post New Answer

More C Interview Questions

What will be the result of the following program? char*g() { static char x[1024]; return x; } main() { char*g1="First String"; strcpy(g(),g1); g1=g(); strcpy(g1,"Second String"); printf("Answer is:%s", g()); } (A) Answer is: First String (B) Answer is: Second String (C) Run time Error/Core Dump (D) None of these

2 Answers   Oracle,


count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array

0 Answers  


c program to subtract between two numbers without using '-' sign and subtract function.

2 Answers  


How to reverse alternate words in a given line of string For Eg: my name is narasimha output : my eman is ahmisaran

0 Answers  


Given an array of length N containing integers between 1 and N, determine if it contains any duplicates.

3 Answers   SilverKey,






Write a C program to check a number even or odd, without using any relational, arithmetic operator and any loops.

1 Answers  


Explain what are its uses in c programming?

0 Answers  


what is the advantage of using SEMAPHORES to ORDINARY VARIABLES???

2 Answers   NSN,


Who is invented by c?

24 Answers   Infosys, Mphasis,


What are data types in c language?

0 Answers  


difference between c and c++

3 Answers  


What is the difference between exit() and _exit()?

2 Answers  


Categories