Arrays November 26, 2020December 21, 2020wefru C Programming Quiz on Array 3 Created on November 26, 2020 By wefru Array TEST YOUR BROAD SKILLS 1 / 10 Q.101 Predict the output of below programs.#include<stdio.h> int main() { int n; for(n = 7; n!=0; n--) printf("n = %d", n--); getchar(); return 0; } Infinite loop 0 1 2 2 / 10 Q.102 Write the output#include<stdio.h> int main() { printf("%x", -1<<1); getchar(); return 0; } For 32 bit compiler it would be fffffffe and for 16 bit it would be fffe. fffffffe ffe fffe 3 / 10 Q.103 C99 standard guarantees uniqueness of __________ characters for internal names. 31 63 12 14 4 / 10 Q.104 C99 standard guarantees uniqueness of ___________ characters for external names. 31 32 33 34 5 / 10 Q.105 Which of the following is not a valid variable name declaration? int __a3; int __3a; int __A3; None of the mentioned 6 / 10 Q.106 Which of the following is not a valid variable name declaration? int _a3; int a_3; int 3_a; int _3a 7 / 10 Q.107 Why do variable names beginning with the underscore is not encouraged? To avoid conflicts since library routines use such names To avoid conflicts since assemblers and loaders use such names It is not standardized To avoid conflicts with environment variables of an operating system 8 / 10 Q.108 All keywords in C are in ____________ LowerCase letters UpperCase letters CamelCase letters None of the mentioned 9 / 10 Q.109 Variable name resolution (number of significant characters for the uniqueness of variable) depends on ___________ Compiler and linker implementations Assemblers and loaders implementations C language None of the mentioned 10 / 10 Q.110 Which of the following is not a valid C variable name? int number; float rate; int variable_count; int $main; Your score is The average score is 43% LinkedIn Facebook Twitter VKontakte 0% Restart quiz