Question
#include<stdio.h>
main()
{
int a, b;
a = -3 - - 3 ;
b = -3 - - ( - 3 ) ;
printf("a = %d b = %d",a,b);
}
What is the output of:
#include<stdio.h>
main()
{
int a, b;
a = -3 - - 3 ;
b = -3 - - ( - 3 ) ;
printf("a = %d b = %d",a,b);
}
Answer: Option C
Was this answer helpful ?
-3 - -3= -3 + 3 = 0
-3 --(-3)= -3 - 3 = -6
Was this answer helpful ?
More Questions on This Topic :
Question 5.
What are the types of linkages?
....
Submit Solution