Question
#include
int main(){
int a= sizeof(signed) +sizeof(unsigned);
int b=sizeof(const)+sizeof(volatile);
printf(“%d”,a+++b);
return 0;
}
a.
10
b.
9
c.
8
d.
Error
Posted under Systems Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What will be output of the following c code? #include int main(){ int a= sizeof(signed) +sizeof(unsigned); int b=sizeof(const)+sizeof(volatile); printf(“%d”,a+++b); return...
Similar Questions
Discover Related MCQs
Q. Which of the following is integral data type?
View solution
Q. A compiler can check
View solution
Q. In analyzing the compilation of PL/I program ,the term “lexical analysis” is associated with
View solution
Q. In analyzing the compilation of PL/I program,the description creation of more optimal matrix is associated with
View solution
Q. Which of the following is not a source error ?
View solution
Q. A main procedural program contains modules. These modules are also called____________.
View solution
Q. Programming languages are the tools that allow communicating between__________.
View solution
Q. The actual text used to write the instructions for a computer program is called a_______________.
View solution
Q. Language which have many types, but the type of every name and expression must be calculated at compile time are
View solution
Q. In some programming languages, an identifier is permitted to be a letter followed by any number of letters or digits. If L and D denotes the sets of letters and digits respectively, which of the following expressions define an identifier ?
View solution
Q. In COMAL language programs, parameters after name of procedure must be put in
View solution
Q. Programming language COBOL works best if used for
View solution
Q. In line "110 DIM num(10)" in BASIC language, 'Line 110' declares
View solution
Q. Statement "130 num(subs) = 2*subs-1" is an example of
View solution
Q. In high-level language COMAL, area is calculated as
View solution
Q. Data types are differed on basis of
View solution
Q. Function which is used in stepwise refinement of program is classified
View solution
Q. When divisions of decimals are involved in program, these numbers are stored in
View solution
Q. Programming languages such as COMAL and Pascal allow subroutine which is classified as
View solution
Q. Items of data help making its structure is classified as
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Systems Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!