Single Choice Not Set

QWhat will be the output of the program?
 
#include<stdio.h>

int main()
{
    const char *s = "";
    char str[] = "Atnyla";
    s = str;
    while(*s)
        printf("%c", *s++);

    return 0;
}

ID: #1138 Constant in C Language 1,138 views
Question Info
#1138Q ID
Not SetDifficulty
Constant in C LanguageTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A A
  • B Atnyla
  • C Atn
  • D Error
Correct Answer

Explanation

Output:

Atnyla

Share This Question

Challenge a friend or share with your study group.