Home  
 
  Ask Questions  
 
  Feed Back  
 
  My Questions  
 
  Contact Us  
 
  About Us  
 


 Interview Questions  
 Our Services  

C Interview Questions and Answers

NEW INTERVIEW QUESTIONS.COM LANGUAGES INTERVIEW QUESTIONS C INTERVIEW QUESTIONS QUESTIONS LISTING

C Interview Questions & Answers


A D V E R T I S E M E N T





Previous Page 1 Page 2 Page 3 Page 4 Page 5 Page 6 [ Page 7] Page 8 Page 9 Page 10 Page 11 Page 12 Page 13 Page 14 Page 15 Page 16 Page 17 Next

Newinterviewquestions.com: World's Largest Interview Questions Website.
Questions Question: How can send unlimited no of arguments to a function, eg printf function can take any no of arguments ?
Ratings Rating:
View Answer View Answer: Here

Questions Question: What is the draw back in using friend function in c++ ?
Ratings Rating:
View Answer View Answer: Here

Questions Question: In the following code, in which order the functions would be called? x = f1(23,14)*f2(12/4)+f3(); a) f1, f2, f3 b) f3, f2, f1 c) The order may vary from compiler to compiler d) None of the above
Ratings Rating:
View Answer View Answer: Here

Questions Question: What is the type of the variable b in the following declaration? #define FLOATPTR float* FLOATPTR a,b; a) float b) float pointer c) int d) int pointer
Ratings Rating:
View Answer View Answer: Here

Questions Question: A switch statement cannot include a) constants as arguments b) constant expression as arguments c) string as an argument d) None of the above
Ratings Rating:
View Answer View Answer: Here

Questions Question: What do you mean by normalisation of pointers
Ratings Rating:
View Answer View Answer: Here

Questions Question: How to convert Stack in to Queue and v varsa ? c with data structure.
Ratings Rating:
View Answer View Answer: Here

Questions Question: What would be the output of the following program? main() { const int x=5; int *ptrx; ptrx=&x; *ptrx=10; printf("%d",x); }
Ratings Rating:
View Answer View Answer: Here

Questions Question: According to ANSI specifications which is the correct way of declaring main() when it receives command line arguments?
Ratings Rating:
View Answer View Answer: Here

Questions Question: Would the following program compile? main() { int a=10,*j; void *k; j=k=&a; j++; k++; printf("n%u%u",j,k); }
Ratings Rating:
View Answer View Answer: Here

Questions Question: If the following program (myprog) is run from the command line as myprog friday tuesday sunday, What would be the output? main(int argc, char *argv[]) { printf("%c",*++argv[1]); }
Ratings Rating:
View Answer View Answer: Here

Questions Question: If the following program (myprog) is run from the command line as myprog friday tuesday sunday, What would be the output? main(int argc, char*argv[]) { printf("%c",**++argv); }
Ratings Rating:
View Answer View Answer: Here

Questions Question: Following declarations are different from one another const char *const s; char const *const s;
Ratings Rating:
View Answer View Answer: Here

Questions Question: What would be the output of the following program? main() { char near * near *ptr1; char near * far *ptr2; char near * huge *ptr3; printf("%d %d %d",sizeof(ptr1),sizeof(ptr2),sizeof(ptr3)); }
Ratings Rating:
View Answer View Answer: Here

Questions Question: Following declarations are same const char *s; char const *s;
Ratings Rating:
View Answer View Answer: Here

Questions Question: What would be the output of the following program? main() { int y=128; const int x=y; printf("%d",x); }
Ratings Rating:
View Answer View Answer: Here

Questions Question: In the following code, what is p2? typedef int* ptr ptr p1, p2;
Ratings Rating:
View Answer View Answer: Here

Questions Question: What would be the output of the following program? main() { int y=128; const int x=y; printf("%d",x); }
Ratings Rating:
View Answer View Answer: Here

Questions Question: In the following code, what is p2? typedef int* ptr ptr p1, p2;
Ratings Rating:
View Answer View Answer: Here

Questions Question: If the following program (myprog) is run from the command line as myprog monday tuesday wednesday thursday What would be the output? main(int argc, char *argv[]) { while(--argc >0) printf("%s",*++argv); }
Ratings Rating:
View Answer View Answer: Here

Previous Page 1 Page 2 Page 3 Page 4 Page 5 Page 6 [ Page 7] Page 8 Page 9 Page 10 Page 11 Page 12 Page 13 Page 14 Page 15 Page 16 Page 17 Next


 Sponsors  

Latest 10 Answers
When there is any situation that u should attach a new patch to ur kernel , then download the patch and install it,to make changes to kernel , go to ok prompt and type boot -r, it will update or reconfigure the kernel
Honesty, helpful and reliable
procedure is a set of sql statement ,are combined to gether to perform a specific task or to solve a specifi problem.it does not return value.
leadership is power to influence a group so that the members willingly exert efforts as aspired by the leader.
I have the unique combination of technical skill and the ability to build strong customer relationship. I have the ability to stay focussed in stressfull situation. I would be great addition to your team.
first execute the bc search spec to fetch the data then executes the applet search spec if applet search spec is not match with bc it skips
TCP-Transmission Control Protocol. TCP is Reliable. TCP is Connection oriented. UDP-User Datagram Protoco UDP is Unreliable. UDP is Connectionless.
By default in structure all data member and member function are public,i,e if you not mentation any access specifier. But in case of class By default all data member and member function are private.
Structure is a user defined data type. By default all structure variables are public type and we cann't use access specifier in structure type variable, where as in class we can define objects(variables) under required access specifier type.
variable cost is the cost which is not fixed in nature

Newinterviewquestions.com is a part of Vyom Network. Top



Copyright © 2017, newinterviewquestions.com. All rights reserved Privacy Policy | Terms and Conditions

Page URL: http://www.newinterviewquestions.com/cat/C-interview-questions/Default.asp?&iType=40&iDBLoc=120&cachecommand=bypass


Download Yahoo Messenger | Web Hosting | Dedicated Server | Free SMS Domain Registration | Windows Hosting | Linux Hosting | Java Hosting | Virtual Dedicated Server | Dedicated Server | Reseller Web Hosting | Unlimited Windows reseller hosting | Unlimited Linux reseller hosting | Cheap Windows reseller hosting | Cheap Linux reseller hosting | Cheap Windows hosting | Best Windows hosting | Windows hosting Multiple Domains | Unlimited Windows hosting | Compare hosting plans | Cheap Linux hosting | Best Linux hosting | Linux hosting Multiple Domains | Unlimited Linux hosting | Cheap asp.net hosting | Best asp.net hosting | unlimited asp.net hosting | Cheap asp.net reseller hosting | Unlimited asp.net reseller hosting | Java Features | Cheap Java hosting | Best Java hosting | unlimited Java Hosting | Unlimited Linux reseller hosting | Java Hosting Multiple Domains Quick2host Reviews Buy Online Traffic