Answer to Question #24534 in C++ for keerthi

Question #24534
A1.D.Q1. What will be output of the following c program? #include<stdio.h> int main(){ long int 1a=5l; printf("%ld",1a); return 0; } (A) 5 (B) 51 (C) 6 (D) Compilation error (E) None of these A1.D.Q2. What will be the output of the following statements? int a = 3,b = 8; printf("%d", a<=b); a) error b) garbage value c) 3 d) 1 A1.D.Q3. Consider on order of modifiers in following declaration: (i) Char volatile register unsigned c; (ii) Volatile register unsigned char c; (iii) Register volatile unsigned char c; (iv) Unsigned char volatile register c; (A)Only (ii) is correct declaration (B)Only (i) is correction declaration (C)All are incorrect (D)All are correct but they are different (E)All are correct and same
Expert's answer

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

New on Blog