Under ISO C11 semantics, what is the correct classification of the following…
Infosys · 2025
Under ISO C11 semantics, what is the correct classification of the following program's behavior?
#include <stdio.h>
int main(void)
{
printf("%nxy");
printf("%bxy");
printf("%rxy");
return 0;
}- A.
Nothing gets printed
- B.
Error
- C.
Undefined behaviour
- D.
%nxy%bxy%rxy
Attempted by 99 students.
Sign up free to check your answer
Sign up freeLoading lesson…