C Programming
Questions related to the C Computer Programming Language. This ranges all the way from K&R to the most recent ANSI incarnations. C has become one of the most popular languages today, and has been used to write all sorts of things for nearly all of the modern operating systems and applications. It it a good compromise between speed, power, and complexity.
Total questions 35900
Stupid little genius (supervisor) [1372]
removed Sort the follwing list of numbers in descending from C Programming 37 minutes ago
PCForrest [7]
made this change to the answer of What is pre increment and post increment in c language 26 May 2012 03:31
Cyclone777 (supervisor) [229]
added How do you make an program in object oriented programming to C Programming 26 May 2012 02:29
Wiqimcs [1]
wrote the first answer to What is pre increment and post increment in c language 25 May 2012 21:33
Popularity: 1 • Tools: Recategorize • Needs Answer
number of nodes in a binary tree having depth n is: 2n+1 In above example depth of the tree is n=4 so the no. of nodes will be...
Popularity: 1 • Tools: Recategorize
Create a new array, giving it a size that is enough to hold the combined array; copy all elements from the first array; copy all...
Popularity: 1 • Tools: Recategorize
include<iostream.h>include<conio.h> main() { int i,j; i=0; j=0; for(i=1;i<=5;i++) { if(i>j){ cout<"the value...
Popularity: 1 • Tools: Recategorize
Popularity: 1 • Tools: Recategorize • Needs Answer
Probably; I don't see anything in the standard that says you can't. However, the use of the volatile keyword is usually in...
Popularity: 1 • Tools: Recategorize
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
int n; float sum; typedef struct _node { float value; struct node *next;} node; struct node *head; struct node *ptr; ...
Popularity: 1 • Tools: Recategorize
I assume you mean is an if the number is an integer multiple of 3 i am unfamiliar with C but the theory would be, find if a is...
Popularity: 1 • Tools: Recategorize
There is no 'best' programming author; everyone has their own opinion based on the style of the writer of the code.
Popularity: 1 • Tools: Recategorize
function-these are self contained block of statements to solve a particular task whereas pointers are defined as the variable ...
Popularity: 1 • Tools: Recategorize
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
A subroutine call generates additional work for the hardware to perform when activated. A macro in general does not call a...
Popularity: 1 • Tools: Recategorize
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Passing a single value to a function is often just a simple integer. But passing an array, character string or other data...
Popularity: 1 • Tools: Recategorize
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
A = A xor B B = A xor B A = A xor B in C... A^=B; B^=A; A^=B;
Popularity: 1 • Tools: Recategorize
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
include<stdio.h>#include<conio.h>#include<graphics.h>void main(){ int gd=DETECT,gm=4,i;...
Popularity: 1 • Tools: Recategorize
Pointers are particularly useful for memory operations. Pointers can hold the address of a variable, the address of a structure,...
Popularity: 1 • Tools: Recategorize
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Because a C program is constructed via a series of "blocks" or functions. It is not an object oriented language.
Popularity: 1 • Tools: Recategorize
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
The difference between signed and unsigned numbers is the maximum precision that the value may hold. Unsigned numbers are always...
Popularity: 1 • Tools: Recategorize
Turbo C was a wonderful IDE for the C programming language, created by Borland. Actually, it was one of the first IDEs ever...
Popularity: 1 • Tools: Recategorize
Popularity: 1 • Tools: Recategorize • Needs Answer
how does your array show that 4x4 is double 2x4
Popularity: 1 • Tools: Recategorize
No, it's not. But it can be based on primitive data types (int, char, long, double and so on).
Popularity: 1 • Tools: Recategorize
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
That cannot be answered here; there are commercial packages to do this, which you can locate on the Internet.
Popularity: 1 • Tools: Recategorize
bool isDivisibleBy3and7 (int N) return ((N % 3) 0);
Popularity: 1 • Tools: Recategorize
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
double areaofcircle (double radius) return 2. * 3.141592653589793 * radius;
Popularity: 1 • Tools: Recategorize
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
text-editor, for example.
Popularity: 1 • Tools: Recategorize
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
include<stdio.h>int main(){ int a,b,c; int big; printf("Enter any there numbers: "); ...
Popularity: 1 • Tools: Recategorize
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer
Popularity: 1 • Tools: Recategorize • Needs Answer