728x15 Ads

bar

C....made easy by Mr. Pramod Shetty 15


#include<stdio.h>
int main(){
    register int a,b;
    int c;
    scanf("%d%d",&a,&b);
    c=~a + ~b + ++a + b++;
    printf(" %d",c);
    return 0;
}
Answer:
               compilation error.

Explanation:
               register variables cpu mein store hote hain .so register variables ka memory address
               ni hota hai.  isliye  scanf statement is incorrect.
                     


Copyright © eAZy EnginEEriNG