Question: In which way can SAM be stored in an array?

Options

A : char name[]=”SAM”

B : char name[6]={‘S’,’A’,’M’}

C : char name[6]={“S”,”A”,”M”}

D : char name [6]={‘S’,’A’,’M’,’’}

Click to view Correct Answer

Previous || Next

Compilers Array Reference 2 more questions

What type of initialization is needed for the segment “ptr[3]....

The C library function _________ breaks string s1 into a....

Which is correct with respect to the size of the....

Which of the following is not a pointer declaration?

In a 32-bit compiler, which 2 types have the same....

Loss in precision occurs for typecasting from____________

Size of C++ objects are expressed in terms of multiples....

Which of the following is a video editing tool that....

Pick the incorrect statement about Character-Array.

Normalized response of a dynamic system refers to:

Chemical Engineering Basics - Part 1 more Online Exam Quiz

Chemistry Written Test Questions Iit Jee Exam

Chemistry Written Test Questions Neet Exam

Chemistry Written Test Questions Schools

Compilers Aptitude Test

Compilers Array Reference 1

Compilers Assessment

Compilers Bottom Up Parsing 1

Compilers Campus Interviews

Compilers Context Free Grammar 1

Compilers Cross Compiler 1