GeekInterview.com
  I am new, Sign me up!
 

C FAQs


C FAQs

Questions: 108
Comments: 151
 C FAQs Tags
 Showing Questions 41-50 of 110 Questions
<< Previous 1 2 3 4 [5] 6 7 8 9 10 Next >>
 Sponsored Links

 
 C FAQs
Sorting Options :  

Latest Answer: Internally NULL is defined as 0, this may varies compiler to compiler. so just think the above statement like this.char p = 0;char &q = p;if you see output of q it will be 0. if we change it likechar p = 65;char &q = p;output of q would be 'A'. ...


Union u{ struct st { int i : 4; int j : 4; int k : 4; int l; }st; int i;}u;main(){ u.i = 100; printf("%d, %d, %d",u.i, u.st.i, u.st.l);}
100,4,0 

What is the C program for Pascal Triangle 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 5 1 
Latest Answer: #includemain(){int binom,p,q,r,x;binom=1;q=0;printf("Input the number of rows:");scanf("%d",&p);printf("Pascal's triangle:n");while(q0;--r)printf(" ");for(x=0; x

I mean generally after execution of c program .c,.doc,.exe,.bak files are created,so how these files are allocated in the memory stack? 
View Question | Asked by : sowji_mca

.for eg 12 is the entered no.then print 12, 21if 123 is entered nothen print 123, 231, 321, 132, 213, 312. 
Latest Answer: Yes it is possible.I will give logicFirst you devide the input by 10 through modulus operator(%). ...
Read Answers (1) | Asked by : siva

View Question | Asked by : raja

View Question | Asked by : macgeek19

Main(){ int i=1,j=1,k=0,l=1,m; m=++i && ++j && ++k || ++l; Printf("%d %d %d %d %d",i,j,k,l,m);}
Read Answers (5) | Asked by : kuttislg

Latest Answer: A volatile variable is nothing but a local variable which gets destroyed as soon as its scope reachs to end.we use the constant qualifier to make the value unchangable. This value could be volatile. ...
Read Answers (1) | Asked by : summi

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
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