[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 :: Variables & Data Types - Discussion

Home > C Programming > Variables & Data Types > MCQs Questions Discussion

22 / 51

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

#include<stdio.h>
int main()
{
register a,b,x;
scanf("%d %d",&a,&b); 
x=a+~b; 
printf("%d",x);
return 0;
}
=> For Input 2 3

A2 3

B0

C1

D5

ECompilation error

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

No Discussion on this question yet!