C Programming Language

C could be a procedural artificial language. it absolutely was at first developed by Dennis Ritchie as a system artificial language to jot down package. the most options of C language embrace low-level access to memory, straightforward set of keywords, and clean vogue, these options build C language appropriate for system programming like package or compiler development.

Recent Articles on C !
C Output & Multiple selection queries

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

Basics:

C Language Introduction
C artificial language normal
int (1 sign bit + thirty one information bits) keyword in C
Is it fine to jot down “void main()” or “main()” in C/C++?
Difference between “int main()” and “int main(void)” in C/C++?
Macros and Preprocessors in C
Compiling a C program:- Behind the Scenes
Benefits of C over alternative languages
Program error signals
Escape sequences in C
Line Slicing in C
C/ C++ Tokens
Variable Declaration, Definition and Scope:



Variables and Keywords in C
How area unit variables scoped in C – Static or Dynamic?
Scope rules in C
How Linkers Resolve Multiply outlined world Symbols?
Quiz on Variable Declaration and Scope
Complicated declarations in C
Redeclaration of world variable in C
Internal and External Linkage
Declare variable as constant
Why variables doesn’t begin with numbers
Redeclaration of world variables
Initialization of world and static variables
Data Types:

Data sorts in C
Use of bool in C
Integer Promotions in C
Quiz on information sorts in C
Comparison of a float with a worth in C
Need of long information sort in C
size_t information sort in C
Interesting facts concerning data-types and modifiers
Float and Double in C
Character arithmetic in C
Typecasting in C
Storage Classes:

Storage categories in C
Static Variables in C
Understanding “extern” keyword in C
What area unit the default values of static variables in C?
Understanding “volatile” qualifier in C
Const Qualifier in C
Initialization of static variables in C
Understanding “register” keyword in C
Quiz on Storage categories in C
Understanding volatile qualifier in C- Set one
Input/Output:

Returned values of printf() and scanf()
What is come back variety of getchar(), fgetc() and getc() ?
Scansets in C
puts() vs printf() for printing a string
What is use of a selected in printf() ?
How to buffer store victimization printf()?
Quiz on Input Output in C
Difference between printf, sprintf and fprintf?
Difference between getc(), getchar(), getch() and getche()
Difference between the one you love and that i format intellectual
Use of fflush(stdin) in C
Clearing input buffer in C/C++
scanf() and fscanf() in C
getchar_unlocked() in C
Problem with scanf()
Differentiate printable and ASCII character
rand() and srand() in C/C++
Operators:

Introduction to operators in C and Arithmetic Operators
Relational and Logical Operators in C
Bitwise Operators in C
Operator Precedence and Associativity in C
Evaluation order of operands
Comma in C and C++
sizeof operator in C
Operands for sizeof operator
A comma operator question
Result of comma operator as l-value in C and C++
Order of operands for logical operators
Increment (Decrement) operators need L-value Expression
Precedence of suffix ++ and prefix ++ in C/C++
Modulus on Negative Numbers
C/C++ Ternary Operator – Some fascinating Observations
Pre-increment (or pre-decrement) in C++
Difference between ++*p, *p++ and *++p
Results of comparison operations in C and C++
To find add of 2 numbers while not victimization any operator
Sequence Points in C
Execution of printf with ++ operators
Anything written in sizeof() isn't dead
Difference between strlen() and sizeof()
Stringizing and Token-pasting operator
Preprocessor:

Write a C macro PRINT(x) that prints x
Variable length arguments for Macros
Multiline macros in C
CRASH() macro – interpretation
The OFFSETOF() macro,
Branch prediction macros in GCC
Diffference between #define and const in C?
A C artificial language Puzzle
What’s distinction between header files “stdio.h” and “stdlib.h” ?
How to print a variable name in C?
Constants in C
How a Preprocessor works
Preprocessor Directives : Behind the scene-1
Preprocessor Directives : Behind the scene-2
isgraph() library perform
write your own header move into C
difftime() library perform
tmpnam() library perform
_Generic keyword in C
math.h library functions
typedef versus #define in C
strftime() library perform
exec family of functions
Arrays & Strings:

Introduction to Arrays in C Language
Strings in C Language
Properties of array in C Language
Do not use sizeof for array parameters
Initialization of variables sized arrays in C
Are array members deeply copied?
What is the distinction between single quoted and double quoted declaration of char array?
Initialization of a three-d arrays in C/C++
Write one line functions for strcat() and strcmp()
What’s distinction between char s[] and char *s in C
gets() is risky to use!
C perform to Swap strings,
Storage for Strings in C
Difference between array and pointer
How to dynamically apportion a 2nd array in C?
How to pass a 2nd array as a parameter in C?
How to write long strings in Multi-lines C/C++?
What area unit the info sorts that it's out of the question to form associate array?
Variable Length Arrays in C and C++
Short hand array notation
Accessing array out of bounds
strcpy() in C/C++
strcmp() in C/C++
strdup() and strdndup() in C/C++
Pass associate array by price
Reverse a string in C/C++
strpbrk() in C
strcoll() in C/C++
ispunct() in C
strspn() in C
isalpha() and isdigit() in C/C++
Control Statements:

What ought to be information variety of case labels of switch statement in C?
For Versus whereas
A nested loop puzzle
switch statement in C
Difference between while(1) and while(0)
goto statement
Continue Statement
Break Statement
Using point switch case
Functions:

Functions in C
Importance of perform image in C
Functions that area unit dead before and when main() in C
return statement vs exit() in main()
How to Count Variable Numbers of Arguments in C?,
What is analysis order of perform parameters in C?
Does C support perform overloading?
How will we have a tendency to come back multiple values from a function?
What is the aim of a perform prototype?
Static functions in C
exit(), abort() and assert()
Implicit come back sort int in C
What happens once a perform is named before its declaration in C?
_Noreturn perform intellectual in C
exit() vs _Exit()
__func__ symbol in C
Callback perform in C
Nested functions in C
Parameter Passing Techniques
pow() perform in C
tolower() perform in C
time() perform in C
Pointers:

Introduction to pointers in C and C++
Double Pointer (Pointer to Pointer) in C
Why C treats array parameters as pointers?
Output of the program | Dereference, Reference, Dereference, Reference
Dangling, Void , Null and Wild Pointers
An Uncommon illustration of array components
How to declare a pointer to a function?
Pointer vs Array in C
void pointer in C
NULL pointer in C !
Function Pointer in C
near, so much and big pointers
Generic coupled List in C
restrict keyword in C
const char *p, char * const p and const char * const p
Pointer to associate Array
Enum, Struct and Union:

Enum in C
Structures in C
Union in C
Struct Hack
Structure Member Alignment, artefact and information Packing
Operations on struct variables in C
Bit Fields in C
Structure Sorting (By Multiple Rules) in C++
Flexible array members in structure
Difference between Structure and Union
Difference between C structures and C++ structures
Anonymous Union and Structure in C
Compound Literals in C
Memory Management:

Memory Layout of C Programs,
How to deallocate memory while not victimization free() in C?
calloc() versus malloc()
How will free() grasp the scale of memory to be deallocated?
Use of realloc()
What is Memory Leak? however will we have a tendency to avoid?
File Handling:

fseek() vs rewind() in C
EOF, getc() and feof() in C
fopen() for associate existing move into write mode
Read/Write structure to a file
fgets() and gets() in C
Basics of File Handling
fsetpos() in C
rename perform in C/C++
tmpfile() perform in C
fgetc() and fputc() in C
fseek() in C/C++
ftell() in C
lseek() in C/C++
remove perform in C/C++
Merge contents of 2 files into a 3rd file
Print contents of move into C
Puzzles:

C Program to print numbers from one to N while not victimization semicolon?
How to notice add of 2 numbers while not victimization any operator
How can you show memory illustration of C variables?
Condition To Print “HelloWord”
Change/add just one character and print ‘*’ specifically twenty times
How will we have a tendency to add the digits of a given range in single statement?


What is the most effective method in C to convert variety to a string?
Calculate Logn in one line
Print “Even” or “Odd” while not victimization Conditional statement
How can you print numbers from one to one hundred while not victimization loop?
How will we have a tendency to add the digits of a given range in single statement?
How can you print “Geeks for Geeks” while not employing a punctuation
Write a 1 line C perform to spherical floating purpose numbers
How can implement Your Own sizeof
How to count set bits in an exceedingly floating purpose range in C?
How to amendment the output of printf() in main() ?
How to notice length of a string while not string.h and loop in C?
Implement your own itoa()
Write a C program that doesn't terminate once Ctrl+C is ironed
How to live time taken by a perform in C?
Print a protracted int in C victimization putchar() solely
Convert a floating purpose range to string in C
How to write a running C code while not main()?
Write your own memcpy()
C program to print characters while not victimization format specifiers
C program to print a string with none quote (singe or double) within the program
Execute each if and else statements at the same time
Print “Hello World” while not victimization any header file
Misc:

Quine – A self-reproducing program
Complicated declarations in C
Use of bool in C
Sequence Points in C | Set one
Optimization Techniques | Set a pair of (swapping),
ASCII NUL, ASCII zero (’0?) and Numeric literal zero
Little and large Endian Mystery,
Comparator perform of qsort() in C
Program to validate associate information processing address
Multithreading in C
Assertions in C/C++
fork() in C
Interesting Facts in C Programming
Precision of floating purpose numbers in C++ (floor(), ceil(), trunc(), round() and setprecision())
setjump() and longjump() in C
nextafter() and nexttoward() in C/C++
pthread_cancel() in C
pthread_equal() in C
pthread_self() in C
Local Labels in C
lvalue and rvalue in C
Get and set the stack size of thread attribute
Difference between fork() and exec()
Errors in C/C++
Why is C thought of quicker than alternative languages
Incompatibilities between C and C++
Convert C/C++ code to programing language
Error Handling in C
Executing main() in C/C++ : Behind the scene
Hygienic Macros in C
Command line arguments in C/C++
scanf(), fscanf(), sscanf(), scanf_s(), fscanf_s(), sscanf_s()
Some fascinating Facts in C Programming
Database property victimization C/C++
Function Interposition in C
Macros vs Functions
Write your own memcpy() and memmove()
C Language Interview queries

Commonly Asked C Programming Interview queries | Set one
Commonly Asked C Programming Interview queries | Set a pair of
C/C++ Programs

Post a Comment

Previous Post Next Post