C Programming Language

Recent Articles on C !
C Output & Multiple Choice Questions

Basics, Variable Declaration, Definition and Scope, Data Types, Storage Classes, Input/Output, Operators, Preprocessor, Array & Strings, Control Statements, Functions, Pointers, Enum, Struct and Union, Memory Management, File Handling, Puzzles, Misc, C Language Interview Questions, Multiple Choice Questions

Basics:

Variable Declaration, Definition and Scope:



Data Types:

Storage Classes:

Input/Output:

Operators:

Preprocessor:

Arrays & Strings:

Control Statements:

Functions:

Pointers:

Enum, Struct and Union:

Memory Management:

File Handling:

Puzzles:

  1. C Program to print numbers from 1 to N without using semicolon?
  2. How to find sum of two numbers without using any operator
  3. How will you show memory representation of C variables?
  4. Condition To Print “HelloWord”
  5. Change/add only one character and print ‘*’ exactly 20 times
  6. How can we sum the digits of a given number in single statement?


  7. What is the best way in C to convert a number to a string?
  8. Calculate Logn in one line
  9. Print “Even” or “Odd” without using Conditional statement
  10. How will you print numbers from 1 to 100 without using loop?
  11. How can we sum the digits of a given number in single statement?
  12. How will you print “Geeks for Geeks” without using a semicolon
  13. Write a one line C function to round floating point numbers
  14. How will implement Your Own sizeof
  15. How to count set bits in a floating point number in C?
  16. How to change the output of printf() in main() ?
  17. How to find length of a string without string.h and loop in C?
  18. Implement your own itoa()
  19. Write a C program that does not terminate when Ctrl+C is pressed
  20. How to measure time taken by a function in C?
  21. Print a long int in C using putchar() only
  22. Convert a floating point number to string in C
  23. How to write a running C code without main()?
  24. Write your own memcpy()
  25. C program to print characters without using format specifiers
  26. C program to print a string without any quote (singe or double) in the program
  27. Execute both if and else statements simultaneously
  28. Print “Hello World” without using any header file

Misc:

C Language Interview Questions

C/C++ Programs

Coding Practice Platform

 



My Personal Notes arrow_drop_up