Differentiate between a for loop and a while loop? What are it uses?
No Answer is Posted For this Question
Be the First to Post Answer
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
0 Answers Aegis, CDAC, Infosys,
what is the significance of static storage class specifier?
write a recursive program in'c'to find whether a given five digit number is a palindrome or not
What does the characters “r” and “w” mean when writing programs that will make use of files?
What is f'n in math?
What is %lu in c?
write a program to reverse the words in the sentence.NOTE:not reverse the entire string but just the occurance of each word
Explain 'bit masking'?
the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above
Write a Program to print this triangle: * ** * **** * ****** * ******** * ********** use two nested loops.
12 Answers MIT, TCS,
main() {int i=5; // line 1 i=(++i)/(i++); // line 2 printf("%d",i); // line 3 } output is 2 but if we replace line 2 and line 3 by printf("%d",i=(++i)/(i++)); then output is 1. Why?
#include<stdio.h> #include<conio.h> struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.