Arrays

C Programming Quiz on Array 

3
Created on 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;
}

2 / 10

Q.102 Write the output

#include<stdio.h>
int main()
{
   printf("%x", -1<<1);
   getchar();
   return 0;
}

3 / 10

Q.103 C99 standard guarantees uniqueness of __________ characters for internal names.

4 / 10

Q.104 C99 standard guarantees uniqueness of ___________ characters for external names.

5 / 10

Q.105 Which of the following is not a valid variable name declaration?

6 / 10

Q.106 Which of the following is not a valid variable name declaration?

7 / 10

Q.107 Why do variable names beginning with the underscore is not encouraged?

8 / 10

Q.108 All keywords in C are in ____________

9 / 10

Q.109 Variable name resolution (number of significant characters for the uniqueness of variable) depends on ___________

10 / 10

Q.110 Which of the following is not a valid C variable name?

Your score is

The average score is 43%

0%

Leave a Reply