How to improve programming skills – Test your C basics

Posted by

One can improve coding skills with practice and that practice can vary on your current level. This is one example for beginners in C programming language.

Make sure to provide correct email ID for FREE tests in future .


Quiz will be automatically submitted after given time

Take 90 days membership for Quiz practice with answers, resume preparation, Important Tips etc. as a part of Interview preparation course and appear in interview with full confidence

C Skill Evaluation - Basic level

This test is for basic C skills

1 / 25

What is your EmailID?

2 / 25

Which of the following operations is not allowed in structures?

3 / 25

Which of the following cannot be a member of a structure?

4 / 25

What are the number of bytes in memory taken by the below structure
int main()
{ struct sample
int k;
char c;
return 0;

5 / 25

String operation such as strcat(s, t), strcmp(s, t), strcpy(s, t) and strlen(s) rely upon?

6 / 25

Which of the following function sets first n characters of a string to a given character?

7 / 25

Where are the characters in string stored?

8 / 25


void main()


char *str1 = "dog";

char str2[] = "dog";



9 / 25

In char *s="hello"; what is being stored in the character pointer s?

10 / 25

What is the scope of extern?

11 / 25

What is the output of the code #include
int main()
typedef static int *m;
int n;
m a = &n;
printf("%d", *a);
return 0;

12 / 25

What does an identifier's storage class define?

13 / 25

%lf is used to display which of the follow?

14 / 25

What is the output of this code? #include
int main()
char x = ‘a’;
printf(“%d”, x);
return 0;

15 / 25

How do you define a value 5.31 in a variable ‘num’ where value cannot be modified?

16 / 25

What is the size of float data type?

17 / 25

Commands in C that can be used to control how we loop?

18 / 25

Which of the following is/ are an example of iteration in C?

19 / 25

Disassembly of executable file can be done using?

20 / 25

Application entry point depends on?

21 / 25

What is preprocessor director to add header file to existing C program?

22 / 25

Which preprocessor directive can be used for already defined function?

23 / 25

What is the keyword used to define macro in C?

24 / 25

What is the output of C program with #define?
#define A 10
int main()
int a=10;
a = a*A;
return 0;

25 / 25

Infinite loop can be terminated by which of the following?

Your score is

Target for 3 months preparation to grab your dream job and acquire all required skills proactively . In this program , we provide each quiz with answer:

Embedded Interview Preparation


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.