[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C Programming :: Increment-Decrement - Discussion

Home > C Programming > Increment-Decrement > MCQs Questions Discussion

6 / 45

What will be output of the following "c" code?

#include<stdio.h>
void main(){
    int num,a=10;
    num=a--- -a--;
    printf("%d  %d",num,a);
}

A0 8

B0 10

C20 8

D-1 10

ECompilation error

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

Reply    
Rate This: +0 -5 +
    Report


Report Error

Please Login First Click Here