Arrays

p1epehpqpbrp91ahd5oj1lvc190q4 3 min scaled

C Programming Quiz on Array 

3
Created on By 52fd849a905aedf0249df9e69d61b55a?s=32&d=mm&r=gwefru

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

Your email address will not be published. Required fields are marked *