[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Commvault Written Test Qs.(Technical Aptitude) :: Const / Volatile Qualifier - Discussion

6 / 40

What is output or the error in the program?


void main () {
const char* cptr = "Hello";
printf ("%c", (*++cptr)++);

Al-value specifies const object

BNo error, output is e

CNo error, output is H

DNo error, output is 1

Answer: Option (Login/Signup)

Show Explanation

Asked In :: Commvault

Post Your Answer Here:     

No Discussion on this question yet!