Latest Answer: #include#includevoid main(){ int a,i;clrscr();printf( " enter the number");scanf("%d",&a);for(i=a;i
Latest Answer: ++i executes faster, since both i++ and ++i takes one cycle. i++ creates a temporary variable and then put the incremented value in it but ++i directly increments the value. ...
Should the code below keep grabbing more resources as a variable is declared inside a while loop?while(1){int i = 10;while(--i);}How does a while loop exactly work? can any explain me the same?
Latest Answer: Max heap is heap with max in root node, Min heap has min in root node. ...
What will be the output of the following question#includemain(){int i=90,k,l;k=i%-3;l=-i%3;printf("%d",k+l);}
Zero
What is the output of the following program#includevoid main(){printf("%d%d",sizeof('a'),sizeof("a"));
Write a program to count the occurrence of following C keywords in a file and calculate the sum? 1.int 2.char 3.static 4.struct 5.union 6.return
I have a class defined belowclass A{ int *m_ptr; A(){}};main(){ int *loc_ptr; A a1,a2;}I have to write a copy constructor for this classPlease help in this problemThanks in Advance.
Latest Answer: Because it takes single line for initialization,condition check and incremention. in While loop default statement is not possible which is in for while statement must contain conditional statement which may not required in for semicolan after whie statement ...
View page << Previous 5 6 7 8 [9] 10 11 Next >>

Go Top