Skip to content

Tag Archives: C-Functions

Output?Take a step-up from those "Hello World" programs. Learn to implement data structures like Heap, Stacks, Linked List and many more! Check out our Data… Read More
Take a step-up from those "Hello World" programs. Learn to implement data structures like Heap, Stacks, Linked List and many more! Check out our Data… Read More
Which of the following is true about return type of functions in C? (A) Functions can return any type (B) Functions can return any type… Read More
In C, parameters are always (A) Passed by value (B) Passed by reference (C) Non-pointer variables are passed by value and pointers are passed by… Read More
Output of following program?Take a step-up from those "Hello World" programs. Learn to implement data structures like Heap, Stacks, Linked List and many more! Check… Read More
In C, if a function is called before its declaration, the compiler assumes the return type of the function as int.For example, the following program… Read More
Function prototype tells the compiler about a number of parameters function takes data-types of parameters, and return type of function. By using this information, the… Read More
With GCC family of C compilers, we can mark some functions to execute before and after main(). So some startup code can be executed before… Read More
In C++, what is the difference between exit(0) and return 0 ? When exit(0) is used to exit from program, destructors for locally scoped non-static… Read More
C supports variable numbers of arguments. But there is no language provided way for finding out total number of arguments passed. User has to handle… Read More
exit()Take a step-up from those "Hello World" programs. Learn to implement data structures like Heap, Stacks, Linked List and many more! Check out our Data… Read More
It is compiler dependent in C. It is never safe to depend on the order of evaluation of side effects. For example, a function call… Read More
Prerequisite : Static variables in C In C, functions are global by default. The “static” keyword before a function name makes it static. For example,… Read More
The Function prototype serves the following purposes – 1) It tells the return type of the data that the function will return. 2) It tells the number… Read More
We all know that a function in C can return only one value. So how do we achieve the purpose of returning multiple values. Well,… Read More

Start Your Coding Journey Now!