Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

C Interview Questions
Questions Answers Views Company eMail

What is c programming structure?

478

Are the variables argc and argv are always local to main?

443

Can you please explain the difference between strcpy() and memcpy() function?

479

What are c identifiers?

503

What is define directive?

510

Do you have any idea about the use of "auto" keyword?

493

How many levels of pointers have?

477

What are types of preprocessor in c?

495

What is #error and use of it?

540

Tell me is null always defined as 0(zero)?

531

In which header file is the null macro defined?

644

What is c preprocessor mean?

613

What is file in c preprocessor?

498

Do you know the difference between exit() and _exit() function in c?

474

Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

452


Post New C Questions

Un-Answered Questions { C }

#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }

532


Why do we use static in c?

490


Explain void pointer?

450


How can I handle floating-point exceptions gracefully?

483


What does. int *x[](); means ?

511






Can we use any name in place of argv and argc as command line arguments?

487


What is calloc malloc realloc in c?

472


When should you use a type cast?

460


main() { printf("hello"); fork(); }

496


What is wrong with this statement? Myname = 'robin';

642


In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.

2542


Can a pointer be static?

463


Write a program on swapping (100, 50)

512


What is a example of a variable?

442


In c language can we compile a program without main() function?

456