Profile cover photo
Profile photo
shobhit upadhyaya
175 followers
175 followers
About
Posts

Post has attachment
Add a comment...

Post has attachment
Add a comment...

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                             ...
Add a comment...

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()  ...
Add a comment...

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:                               ...
Add a comment...

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...
Add a comment...

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 )                         {     ...
Add a comment...

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);        ...
Add a comment...

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 )                     ...
Add a comment...

Post has attachment
Control Instructions ( Part2 )
Control
Instructions (C-FAQ's) Q1: What is the output for the program given below?             #include<stdio.h>             int main()             {                         int
x=0, y=10, z=20;                         *(
(x) ? &y: &z) = x ? y : z ;        ...
Add a comment...
Wait while more posts are being loaded