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
1
Expert's answer
2013-02-19T08:51:04-0500
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-24534.pdf

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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS