GeekInterview.com
  I am new, Sign me up!
 

C Interview Questions


C Interview Questions

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

 
 C Interview Questions
Sorting Options :  

how we can store more than 128chars in char-variable. 
Latest Answer:  simply by making it as unsigned char so the the last bit which is sign bit will be used to store a number now thus range becomes 0-255. ...
Read Answers (2) | Asked by : ysnkumar

Is there any relation between a[i] and i[a] while using arrays..can anyone help me with this.... 
Latest Answer: Bath a[i] and i[a] are same.....the variable name 'a'  contains the basic address of the  array.so a[i] means base address + index 'i' and also i[a] means base address + index 'i' ...

Is structure a value type or a reference type? why? 
Latest Answer: Answer is Structure is Value type ...
Read Answers (2) | Asked by : ujvala

Write a program in C which will print all the possible combination of a given word. E.G. if the word is ABCD then the output should be ABCD, ABDC, ACBD, ACDB, ADBC, ADCB, BACD, BADC, BCAD, BCDA, BDAC, 
Latest Answer: #include #include #include typedef unsigned int u32;#define SWAP(a, b) do { a ^= b; b ^= a; a ^= b; } while (0)u32 print_ctr;void PrintAllPerms(char *str);void RecurseAllPerms(char *str, u32 len, char *base);int ...

Develop a program that receives the month and year from the keyboard as integers and prints the calendar in the following format March 2006  
Latest Answer: here is the solution:#include#include//0 is for monday, 1 for tuesday and so onint leapyear(int year){   if (year % 400 == 0)   return 1;   if (year % 4 == 0 && year % 100 != 0)   ...
Read Answers (1) | Asked by : kartyy

Write a program to generate all combinations of 1,2 and 3 using for loop? 
Latest Answer: int main (){  int i,j,k;  for(i=1;i

What will be the code in c to get the following output?A B C D E F G F E D C B AA B C D E F F E D C B AA B C D E E D C B AA B C D D C B AA B C C B AA B  
Latest Answer:  #include  #include  #include  void main()   {     char arr[]="ABCDEFG";     int i,j,length=strlen(arr);     ...

Latest Answer: Addition of 2 no without using semicolon:void main(){  while( !printf("sum value=%d",10+20) ) { }  }or,void main(){  if( printf("sum value=%d",10+20) ) { }  }or,void main(){  switch( printf("sum value=%d",10+20) ...
Read Answers (9) | Asked by : kamba

A=5;c=++a + ++a + ++a;What would be value of c after this statement and how does it come?If we have the codea=5;c=a++ + a++ + a++;What would be the value of c then?

Latest Answer: Array name is the base address of the aaray. By using this base address we can refer to the array elements. that is a[0] means "base address + 0th" element. that is array element number is the distence from the base address to the specified data  ...
Read Answers (4) | Asked by : varun

View page << Previous 2 3 4 5 [6] 7 8 9 10 11 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
4baseersd 20
5burraganesh 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