GeekInterview.com
  I am new, Sign me up!
 

C Interview Questions


C Interview Questions

Questions: 453
Comments: 1523
 Showing Questions 21-30 of 453 Questions
<< Previous 1 2 [3] 4 5 6 7 8 9 10 Next >>
 Sponsored Links

 
 C Interview Questions
Sorting Options :  

Write a program in C that does nothing not even takes memory? 
Latest Answer: A program that does nothing is as:void main(void)  {;} ...

Write a program in C to display output as "hello world" without using semicolon(;)? 
Latest Answer: #includevoid main(void){    if(printf("Hello World"))       {;}} ...

What is Field Width Specification? 
Latest Answer: field width specification means to allocate the a particular fixed  size of a varriable whether varriable is small in size or big.eg:if we allocate a field width of a varriable is 10 and the varriable is a[5] then it will just take a five block ...

What is BSS segment? Where it will be? 
Latest Answer: BSS stores the variables which are initialized to 0 ...

1. #define MAX 1002. main()3. {4. int max=100;5. int a[MAX];6. int b[max];7. } 
Latest Answer: 5th statement, here the array size will be assigned at preprocessor stage.6th statement, here it will not give any compile time error but some the program will be having lot of bugs. size will be assigned at run time. ...

we say stack is allocated to the local variables ,formal arguments and return addresses of a function for manipulating function calls?but the question arises when does the stack allocation to above things 
Latest Answer: Memory is allocated only during the runtime, and compiler just decides the amount of memory needed by each variable... It just adds the displacement value to be added to the Base Stack pointer for "Local Variables" Allocation. ...

View Question | Asked by : jaganmaya

Latest Answer: speed is the same.  int iSpeedTest = i++;00413773  mov         eax,dword ptr [ebp-0Ch] 00413776  mov         dword ptr [ebp-150h],eax 0041377C  mov         ecx,dword ...

what is difference between reference and pointer or pass by reference and pass by pointer? 
Latest Answer: C++ supports passing an object  by reference and pointer, former is widely used in the C++ where as C doesnot support passing user defined data by reference.Consider the following exampleEmployee *ptr; // is a placeholderEmployee &ref; // ...

ex:int a=10;int b=10;int sum=a+b;without using "+" operator calculate sum  
Latest Answer: main(){    couta>>b;      do{     x=a&b;     y=a^b;     ...

View page << Previous 1 2 [3] 4 5 6 7 8 9 10 Next >>

Ask A Question
Go Top
 Sponsored Links

 
Sponsored Links

 
Ask Question
You must login to Ask Question or Register your free account

Category:

 
Question Title:


Question in Detail:

Add this to my Subscribed Questions (?)
Send me email when new answer is posted (?)

 
Expert Members
# User Name Count
1jintojos 29
2dasam 27
3abhimanipal 22
4burraganesh 20
5baseersd 20
6suji 20
7pbchaudhari 19
8SomGollakota 17
9yzesong 17
10vipin gupta 15
Subscribe
Get Latest Updates Via RSS Reader or by Email
 Forum Discussion Subscribe to Forum Discussions Via E-Mail Latest Forum Discussions Subscribers
 Knowledge Base Subscribe to Knowledge Base Series Via E-Mail Knowledge Base Subscribers
 Learning Series Subscribe to GeekInterview Learning Series Via EMail Learning Series Subscribers
 Freelance Jobs Subscribe to GeekInterview Freelance Jobs Via EMail Latest Freelance Jobs Subscribers
 GeekInterview Blog Subscribe to GeekInterview Blog Via EMail GeekInterview Blog Subscribers
 Testing Interview Questions Subscribe to Testing Interview Questions Via EMail Testing Interview Questions Subscribers
 Oracle Interview Questions Subscribe to Oracle Interview Questions Via EMail Oracle Interview Questions Subscribers
 Java Interview Questions Subscribe to Java Interview Questions Via EMail Java Interview Questions Subscribers
 Latest Placement Papers Subscribe to Latest Placement Papers Placement Papers Subscribers
 Free Training Subscribe to Free Training Via EMail Free Training Subscribers
 Learn AJAX Subscribe to AJAXwith.com Via EMail AJAXwith Subscribers
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape