ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
declare afunction pointer to int printf(char *)?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: declare afunction pointer to int printf(char *)?
Answer
# 1
the function pointer to an int printf(char *) will be:

int (*ptr)(char*);

Now you can assign the function address to the pointer to a 
function.

ptr = printf;
 
Is This Answer Correct ?    5 Yes 1 No
Sunil Singh
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
what is the output of the following program? #include<stdio.h> void main() { int x=4,y=3,z; z=x-- -y; printf("\n%d %d %d",x,y,z); }  10
What is the main differences between C and Embedded C?  2
convert 12345 to 54321 withoutusing strig  3
what is the differance between pass by reference and pass by value. Infosys4
Difference between fopen() and open()? Aricent3
write a program to compare 2 numbers without using logical operators? IBM1
1,1,5,17,61,217,?,?.  3
Hai why 'c' is the middle language  2
Why data types in all programming languages have some range? Why ritche have disigned first time likethat?Why not a single data type can support all other types? Excel1
class foo { public: static int func(const char*& p) const; }; This is illegal, why? Google6
What is the memory allocated by the following definition ? int (*x)[10]; ADITI3
print the following using nested for loop. 5 4 3 2 1 1 2 3 4 3 2 1 1 2 1 2 1 1 2 3 4 3 2 1 1 2 3 4 5  5
HOW CAN ADD OUR FUNCTION IN LIBRARY.  5
To what value do nonglobal variables default? 1) auto 2) register 3) static  4
what is the use of call back function in c?tell me with example  1
WRITE A PROGRAM TO FIND A REVERSE OF TWO NO  5
How can I read a directory in a C program? Wipro1
How many ways are there to swap two numbers without using temporary variable? Give the each logic.  6
what is the function of void main()?  6
11. Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage Accenture7
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com