Which of the following logical operators in the C programming language is used to compare the equality of two variables?
A. =
B. &&
C. ||
D. ==
Answer: D
Computer Science & Information Technology
You might also like to view...
Match the following common file extensions with their file type:
I. .docx II. .mp4 III. .zip IV. .eps V. .exe A. Compressible video and audio file B. Microsoft Word document C. Uncompressed image file D. Compressed file E. Executable files that run a program
Computer Science & Information Technology
In general, what block do you use to perform clean-up tasks that must occur, regardless of whether any errors occurred or were caught?
A. default block B. always block C. execute block D. finally block
Computer Science & Information Technology