Under ISO C11 semantics, what is the correct classification of the following…
PYQ Infosys Hiring Test 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 129 students.
Sign up free to check your answer
Sign up freeLoading lesson…

