Single Choice
Not Set
QWhat is the output of this C code(according to C99 standard)?
#include
struct p
{
int k;
char c;
float f;
};
int main()
{
struct p x = {.c = 97, .f = 3, .k = 1};
printf("%f\n", x.f);
}
ID: #2655
Structure in C Language
1,932 views
Question Info
#2655Q ID
Not SetDifficulty
Structure in C LanguageTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
3.000000
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic