175 followers
175 followers
Posts
Post has attachment
Post has attachment
Post has attachment
Functions (Part2)
Functions
(C-FAQ's) Q1: What is the output of the following code?             int
iReverse(int iNum)             {                         if(
iNum == 0)                                     return
0;                         else                             ...
Post has attachment
Functions (Part1)
Functions
(C-FAQ's) Q1: Can you find out the error in the following code?             func(int
iA, int iB)             {                         int
iA;                         iA=40;                         return
iA;             }             int main()  ...
Post has attachment
Expressions ( Part1 )
Expressions
(C-FAQ's) Q1: Can you explain                    iNum
= iNum++ * iNum++      expression result
is undefined , but                    iNum
= iNum++ || iNum++    result is always
same?                         Output:                               ...
Post has attachment
Expressions ( Part2 )
Expressions
(C-FAQ's) Q1: Do you know in which order Relational, Logical,
Arithmetic and Assignment operators get evaluated?     A.     Relational, Logical, Arithmetic, Assignment   B.      Arithmetic, Relational, Logical,
Assignment   C.      Arithmetic, L...
Post has attachment
Control Instructions ( Part4 )
Control
Instructions (C-FAQ's) Q1: What is the output for the program given below?             #include<stdio.h>             int main()             {                         int
x= 1, y= 2;                         switch
( x )                         {     ...
Post has attachment
Control Instructions ( Part1 )
Control
Instructions (C-FAQ's) Q1: How many times while loop will get executed in the
following code ?             #include<stdio.h>             int main()             {                         int
iCtr=0;                         while(
iCtr<= 300);        ...
Post has attachment
Control Instructions ( Part3 )
Control
Instructions (C-FAQ's) Q1: What is the output for the program given below?             #include<stdio.h>             int main()             {                         int
x= 10, y= 50;                         if
( ! ( !x ) && x )                     ...