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
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
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment