Question
Reason (R): In C the maximum length of a character constant can be 2 characters.
a.
Both A and R are correct and R is correct explanation of A
b.
Both A and R are correct but R is not correct explanation of A
c.
A is correct R is wrong
d.
A is wrong R is correct
Posted under Electronics and Communication Engineering
Interact with the Community - Share Your Thoughts
Uncertain About the Answer? Seek Clarification Here.
Understand the Explanation? Include it Here.
Q. Assertion (A): In C a character constant is either a single alphabet or digit or special symbol enclosed within single inverted commas. Reason (R): In C the maximum length of a...
Similar Questions
Explore Relevant Multiple Choice Questions (MCQs)
Q. Which of the following is not a valid real variable in FORTRAN 77?
View solution
Q. Let JCOKE = 3 and LPEPSI = 5. Consider the statement
IF (3 * JCOKE. EQ. LPESPSI)
JCOKE = JCOKE + 2
JCOKE = JCOKE + 5
What will be the final value of JCOKE after the above statement is executed?
View solution
Q. Diskette can be used for primary storage as well as secondary storage in a computer.
View solution
Q. Read the following statements
1. Magnetic tape is a sequential device.
2. Magnetic disc is a direct access device.
3. Magnetic tape and disc are both sequential devices.
4. Magnetic tape and disc are both direct access devices.
Which of the above statements are correct?
View solution
Q. A memory chip has 65536 cells in it. Then
View solution
Q. Which of the following is operating system?
View solution
Q. A modem is connected to PC at
View solution
Q. Assertion (A): The data bus and address bus of 8085 are multiplexed.
Reason (R): Multiplexing reduces the number of pins.
View solution
Q. Consider the following statements about 'Functions' in C
1. A function can be called any number of times.
2. A function gets called when the function name is followed by a semicolon.
3. The order in which functions are defined in a program and the order in which they are called must be the same.
Which of the above statements are correct?
View solution
Q. A failure rate of 0.01 percent in 1000 hours in a memory corresponds to an MTBF of
View solution
Q. Consider the following statements about expressing real constants in exponential form in C
1. The mantissa and exponent are separated either by e or E.
2. The mantissa and exponent may have positive or negative sign.
3. Default sign of mantissa is positive.
4. Default sign of exponent is negative.
Which of the above statements are wrong?
View solution
Q. If F = 95.0 what will be the result of following FORTRAN 77 program?
REAL F , C
READ * , F
C = (5. / 9.) * (F - 32.)
View solution
Q. Consider the following library functions
1. EXP (i.e., ex)
2. ARCTAN (i.e. tan‾¹ x)
3. SQRT (i.e., √x)
4. AES (i.e. |x|)
Which of the above are allowed in Pascal?
View solution
Q. Consider the following program in Basic
10 READ X, Y, Z
15 DATA 20, 30, 10
20 S = X + Y + Z
30 A = S/3
35 PRINT S, A, X, Y, Z
40 END
The output will be
View solution
Q. Let the initial contents of ACC and CY in 8085 be
1. CY = 1
2. ACC = 10000001
After the instruction RAL is executed twice the contents of CY and ACC respectively will be
View solution
Q. A nibble corresponds to
View solution
Q. Consider the following statements
1. An assembler is a program having assembly language program as input and machine language program as output.
2. A macro assembler is an assembler with additional macro facilities.
3. A cross assembler for a μP X is an assembler which executes on source microcomputer with a different CPU than X bit generates code for X.
4. Assemblers generally do not provide macro facilities.
Of the above statement
View solution
Q. A computer window has a bar at its top to bear the name of window. This bar is called
View solution
Q. Read the following statements about files in Pascal
1. A file can grow or shrink dynamically.
2. A file which consists of only characters is called text file.
3. Text files may be read and written using standard Pascal READ and WRITE procedures.
4. Every file must have a beginning but may or may not have an end.
Which of the above are correct?
View solution
Q. If word length is 16 bits the decimal equivalent of largest number which can be stored is
View solution
Recommended Subjects
Are you eager to expand your knowledge beyond Electronics and Communication Engineering? We've handpicked a range of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of various subjects. Happy exploring!