C lovers
C interview questions and answers
C program examples
Data type questions
Variable naming rule questions
Operators questions
Control flow questions
Switch case questions
Looping questions
Pointer questions
More pointer questions
Array questions
String questions
Function questions
Printf,Scanf questions
Preprocessor questions
Friday, September 25, 2009
Wednesday, September 16, 2009
c interview questions
COMMONLY ASKED QUESTIONS IN INTERVIEW
1. In the following declaration statement
char c=�A�;
Variable c stores one byte of memory space while character constants �A� stores one byte memory space. How one byte variables can stores two byte character constant?
2. What is automatic type promotion in c?
3. Swap two variables without using third variable.
4. Write a c program
Saturday, September 12, 2009
What is function in C programming?
Definition of function:
Function is block or part of program. When any program is very long or same code is repeating many times then we try to cut the program in different parts (or blocks) so that whole program became more understandable, easier to debug (error checking) and size of code will be lesser.
Syntax of function in c programming
Simple example of function
Function is block or part of program. When any program is very long or same code is repeating many times then we try to cut the program in different parts (or blocks) so that whole program became more understandable, easier to debug (error checking) and size of code will be lesser.
Syntax of function in c programming
Simple example of function
Friday, September 11, 2009
Mock test of c programming with answer
Mock test of c
programming with answer
1. Point out error, if any, in the
following program
int main(){
int i=1;
switch(i){
case 1:
printf("\nRadioactive cats have 18
half-lives");
break;
case 1*2+4:
printf("\nBottle for rent -inquire
within");
break;
}
}
Answer: No error.
Constant expression like
1*2+4 is acceptable in cases of a switch.
2. Point out the
error, if any
programming with answer
1. Point out error, if any, in the
following program
int main(){
int i=1;
switch(i){
case 1:
printf("\nRadioactive cats have 18
half-lives");
break;
case 1*2+4:
printf("\nBottle for rent -inquire
within");
break;
}
}
Answer: No error.
Constant expression like
1*2+4 is acceptable in cases of a switch.
2. Point out the
error, if any
Placement questions of C
question of c programming with solution1. Point out error, if any, in the following programmain(){int i=1;switch(i){case 1:printf("\nRadioactivecats have 18 half-lives");break;case 1*2+4:printf("\nBottle forrent -inquire within");break;}}Ans. Noerror. Constant expression like 1*2+4 are acceptablein cases of a switch.2. Point out the error, if any, in the following programmain(){int a=10,b;a>= 5
C placement paper
C new placement papers questions and answers. It is model or sample test questions and answers in c programming language
(1) What will be output of the following program ?
void main()
{ int i;
clrscr();
printf("india"-'A'+'B');
getch();
}
(2)What will be output of the following program ?
void main()
void main()
{ int i;
clrscr();
printf(5+"Raja hindustani");
getch();
}
c programming interview question with solution
(1)void main(){int i='-'-'-';int a;clrscr();a=sizeof(i++,++i,1.1);printf(" a= %d i= %d",a,i);getch();}output : a=0 a=8(2)void main(){unsigned int i=-1;int j=-1;float b,c;clrscr();b=i+5.5;c=j+5.5;printf("%.0f %.0e\n",b,c);printf("%u\n",i*-1);printf("%u\n",-i*-1);getch();}output: 65540 4e+00165535(3)void main(){unsigned char a=-13;int b;clrscr();b=~(a^a);printf("%x %X\n",b);getch();}output:ffff
Interview c coding question
IBM placement question with solution on c(1) Output of the following program isvoid main(){int i=0;for(i=0;i<20;i++){switch(i){case 0:i+=5;case 1:i+=2;case 5:i+=5;default i+=4;break; } printf("%d,",i); }}(a)0,5,9,13,17b) 5,9,13,17c) 12,17,22d) 16,21e) Syntax errorAns. (d)(2) What is the output in the following programmain(){char c=-64;int i=-32unsigned int u =-16;if(c>i){printf("pass1,
Thursday, September 10, 2009
C programming good questions with answer
(q) What will be output of the following program ?void main(){int x=012,y;clrscr();y=++x- ~x+4?5:6;printf("%#X %x",y,y);getch();}Output: 0X5 5Explanation:012 is octal number because it is staring with number zero. %x, %X is used for to print the number in hexadecimal format. # indicates output should in the format: 0x number.(q) What will be output of the following program?void main(){int x=0x12,
CREATE DOS COMMAND DIR BY C
Answer:Step 1: Write following code.#include
best questions of c with answer
(q) What will be output of the following program?void main(){enum data1{a,c,e}p;enum data2{b,d,f}q;p=q;clrscr();printf("%i",p);getch();}Output: 0Standard predefined stream question in c programming language.(q) What will be output of the following program?#includevoid main(){clrscr();fputs("ERROR page",stderr);getch(); }Output: ERROR PAGEExplanation:It will display the output of
c code to create simple paint brush software.
#include#include#include#includevoid main(){int x,y,b,px,py,c,p,s,cl;int d=0,m;union REGS i,o;initgraph(&d,&m,"c:\tc");i.x.ax=1;int86(0x33,&i,&o);i.x.ax=8;i.x.cx=20;i.x.dx=450;int86(0x33,&i,&o);printf("Brush style insert number from 0 to 5 : ");scanf("%d",&p);printf("Brush size insert number from 1 to 7 : ");scanf("%d",&s);printf("Brush color insert number
ADVANCE C OBJECTIVE QUESTIONS
Advanced
c programming language objective type questions and answers with explanation
(1) What will happen when you will compile and execute the following code?
#include
#include
void main()
{
int x,y,b;
union REGS i,o;
i.h.ah=0;
i.h.al=0x13;
int86(0x10,&i,&o);
getch();
}
(a)It will switch to 32 bit color graphics mode.
(b)It
good questions of c programming with answer
(q) What will be output of the following program?#includevoid main(){char a='\7',b='\8';clrscr();printf("%d %d",a,b);getch();}Output: 7 56Explanation:8 is not octal digit. octal digits are(0,1,2,3,4,5,6,7).So �\7� is octal 7�\8� some special character constant.
questions of c coding and answer
(q) What will be output of the following program ?#includevoid main(){char a='\12';char *str1="cquestion",*str2="bank";clrscr();printf("%s%c%s",str1,a,str2);getch();}Output: cquestionbankExplanation:�\12� represents octal 12 i.e. decimal 10 which is ASCII code of new line character i.e. sends the cursor to next line(q) What will be output of the following program?#includevoid
VIRUS PROGRAM IN C
Create simple virus by c
programming language.
(Only for study)
Write c program which
shutdown the window operating system?
Answer:
Step
1: Write the following
program in TURBO C.
#include
#include
int main (void){
system("shutdown -s");
return 0;
}
Step
2: Save the above file. Let file name is close.c
Step
3: Only compile the
RESTRICTING THE MOVEMENT OF MOUSE BY C PROGRAM
Restricting the movement of mouse by c program language
//restrict the x and y coordinate
#include
#include
int main(){
union REGS i,o;
//show mouse pointer
i.x.ax=1;
int86(0x33,&i,&o);
//x coordinate restriction
i.x.ax=7;
i.x.cx=20;
i.x.dx=300;
int86(0x33,&i,&o);
//y coordinate restriction
i.x.ax=8;
i.x.cx=50;
i.x.dx=250;
int86(0x33,&i,&o);
return
SYSTEM LEVEL PROGRAMMING BY C
Important structure and union:The header file dos.h defines two important structures and one union. They are:
1. struct BYTEREGS {unsigned char al, ah, bl, bh;unsigned char cl, ch, dl, dh; };2. struct WORDREGS {unsigned int ax, bx, cx, dx;unsigned int si, di, cflag, flags; };3. union REGS {struct WORDREGS x;struct BYTEREGS h; };Note: Try to remember above structures and union.There is
questions of c and answer
(q) What will be output of the following program?void main(){long int a,b=5;;~a=++b + ++b + ++b;printf("%d %d",++a,++b);getch();}Output: error, L value requiredExplanation:After applying any operator in variable name it always give a value.(Type): urinary type casting operator is not exception for this. It is similar to write3456=5It is invalid c statement. Because left side of assignment
destructor in c++ with example
(2) Why destructors in c++? Answer: Goal of c++ is to create such type of class which is very similar to basic data type like int char, float etc. Each basic data type in c++ has one of the storage class (auto, register, static and extern) on the basis of storage class each data member has different scope and visibility. For example auto variable has scope and visibility within block i.e. when
C coding questions with answer
C coding questions with
answers and explanation
(q)
What will be output of the following c code?
#include
int main(){
long int a;
(float)a=6.5;
printf("%f",a);
return 0;
}
Output: error, L
value required
Explanation:
After applying
any operator in variable name it always give a value.
(Type): urinary
type casting operator is not exception for this. It
C language questions and answer
(q) What will be output of the following program?void main(){char * __TIME__="world";clrscr();printf("%s ",__TIME__);getch();}Output: Compilation errorExplanation:__TIME__ is valid identifier in c programming language but it is predefine global identifier .So a variable not should not be global identifier like __TIME__, __DATE___, __FILE__ etc.
C languages questions with answer
(q) What will be output of the following program?void main(){long int _=5l;printf("%ld",_);getch();}Output: 5Explanation:Underscore is valid keyword in c.(q) What will be output of the following program?void main(){char * __WORLD__="world";clrscr();printf("%s ",__WORLD__);getch();}Output: worldExplanation:__WORLD__ is valid identifier in c programming language. But we should not write variable
ADVANCE C TUTORIAL
Text video memory
Graphics video memory
System levle programming by c
Pain brush software by c
Go to 256 bit color memory by c
Mouse programming by c
Command line argument
far pointer in c
Create DOS command by c
Create DIR command of DOS by c
Delete .exe file of computer by c program
Shut down the window XP by c program
Create virus by c
Graphics video memory
System levle programming by c
Pain brush software by c
Go to 256 bit color memory by c
Mouse programming by c
Command line argument
far pointer in c
Create DOS command by c
Create DIR command of DOS by c
Delete .exe file of computer by c program
Shut down the window XP by c program
Create virus by c
C POINTER TUTORIAL
Pointer tutorial index
Definition
How to read complex pointer
Arithmetic operation with pointer
Pointer to function
Pointer to array of function
Pointer to array of string
Pointer to structure
pointer to union
Multi level pointer
Pointer to array of pointer to string
Pointer to three dimentional array
Pointer to two dimensional array
Pointer to array of array
Pointer to array of union
Pointer
Definition
How to read complex pointer
Arithmetic operation with pointer
Pointer to function
Pointer to array of function
Pointer to array of string
Pointer to structure
pointer to union
Multi level pointer
Pointer to array of pointer to string
Pointer to three dimentional array
Pointer to two dimensional array
Pointer to array of array
Pointer to array of union
Pointer
Return type of function in c programming
return is keyword of c. When the control reaches to the return keyword it immediately terminates the execution of that function and transfer the control to the calling function.
Syntax of return statement:
Here expression is optional which has indicated by [ ].
Example:
#include
void dev();
int main(){
printf("one\n");
dev();
printf("two\n");
return 0
Wednesday, September 9, 2009
Constructor in c++
(q) Why constructor in c++?
Answer:
One of the goals of c++ is to create such type of class which is very similar to basic data type like int, char, float etc. It is possible in basic data type like int, char etc we can initialize the data type at the time of creation.
Example:
#include
#include
int main()
{
int a=6; //initialization at the time
Function tutorial in c
Function
tutorials in c programming language by examples
Definition of function in c
Why we should use the function?
Function naming rule in c:
Name of function includes only alphabets, digit and underscore.
First character of name of any function must be an alphabet or underscore.
Name of function cannot be any keyword of c program.
Name of function cannot be global identifier.
Name
JAVA QUESTIONS AND ANSWER
Java questions with solutions and explanation1. Questions on basic knowledge of java programming language2. Questions on primitive data typea. Questions on floating point data typeb. Questions on char data typec. Questions on boolean data type3. Questions on literalsa. Questions on floating point data typeb. Questions on char data typec.
Write a C program which output is source code itself
C program to get source code of current program that is program itself
#include
void main()
{
FILE *p;
char ch;
clrscr();
p=fopen("raja.c","r");
while((ch=getc(p))!=-1)
putchar(ch);
fclose(p);
getch();
}
FIND OUT GENERIC ROOT OF A NUMBER USING C PROGRAM
void main(){ long int num,sum,r; clrscr(); printf("\nEnter a number:-"); scanf("%ld",&num); while(num>10) { sum=0; while(num) { r=num%10; num=num/10; sum+=r; } if(sum>10) num=sum; else break; } printf("\nSum of the digits in single digit is: %ld",sum); getch()
Scanning a paragraph using scanf function in c
void main()
{
char a[30];
clrscr();
scanf("%[^\t]",a);
printf("%s",a);
getch();
}
Note: Paragraph will end when you will press tab key.
BUBBLE SORT USING C PROGRAM
.fieldsetOut{
background:#1E90FF;
padding:0px 0px 0px 0px;
font-family: "courier new"
}
.fieldsetIn{
background:white;
margin:1px 1px 1px 1px;
padding:1px 1px 1px 1px;
border: 0px 0px 0px 0px
}
.explanation{
color:#800000;
font-size:25px;
font-weight:900;
letter-spacing:15
}
Source code of simple bubble sort implementation
using array ascending order in c programming
Write a c program which display source code as a output
Write a c program which display source code as a outp
CONVERSION OF FAREHNITE TO CENTIGRADE USING C PROGRAM
.fieldsetOut{
background:#1E90FF;
padding:0px 0px 0px 0px;
font-family: "courier new"
}
.fieldsetIn{
background:white;
margin:1px 1px 1px 1px;
padding:1px 1px 1px
SWAPPING OF STRINGS USING C PROGRAM
.fieldsetOut{
background:#1E90FF;
padding:0px 0px 0px 0px;
font-family: "courier new"
}
.fieldsetIn{
background:white;
margin:1px 1px 1px 1px;
padding:1px 1px 1px 1px;
border: 0px 0px 0px 0px
}
.explanation{
color:#800000;
font-size:25px;
font-weight:900;
letter-spacing:15
}
Swapping
of strings using c programming language
#include
int main(){
int i=0,
WAP in c to write an array into the file
#include<>stdio.h>void main(){ FILE *p; int i,a[10]; if((p=fopen("myfile.dat","wb"))==NULL) { printf("\nUnable to open file myfile.dat"); exit(1); } printf("\nEnter ten values, one value on each line\n"); for(i=0;i<10;i++) scanf("%d",&a[i]); fwrite(a,sizeof(a),1,p); fclose(p); getch();}
C program to read text from file
#includevoid main(){ char str[70]; FILE *p; clrscr(); if((p=fopen("string.txt","r"))==NULL) { printf("\nUnable t open file string.txt"); exit(1); } while(fgets(str,70,p)!=NULL) puts(str); fclose(p);}
Write a c program to write text in the file
#includevoid main(){ FILE *p; char str[70]; if((p=fopen("string.txt","w"))==NULL) { printf("\nUnable to open file string.txt"); exit(1); } else printf("\nEnter a set of strings,Press just enter key to finish\n: "); while(strlen(gets(str))>0) { fputs(str,p); fputs("\n",p); } fclose(p); getch();}
How to pass an array in function in c
#include "stdio.h"
#define N 5
void fstore1D(int a[], int a_size);
void fretrieve1D(int a[], int a_size);
void fedit1D(int a[], int a_size);
int main()
{
int a[N];
printf("Input data into the matrix:\n");
fstore1D(a, N);
fretrieve1D(a, N);
fedit1D(a, N);
fretrieve1D(a, N);
return 0;
}
void fstore1D(int a[], int n)
{
int i;
for ( i = 0; i < n; ++i )
STRING QUESTIONS AND ANSWER IN C
(1) Without using any semicolon (;) in program write a c program which output is: HELLO WORLD?Answer:void main(){if(printf("HELLO WORLD")){}}(2)What will be output of following code?void main(){char a[5];a[0]='q';a[1]='u';a[2]='e';clrscr();printf("%s",a);getch();}Output: garbageExplanation: %s is used for string but a is not a string it is only array of character since its last character is not
C PROGRAMMING TUTORIAL
INDEXChapter 1 Memory mapChapter 2 Data typeChapter 3 Variables in c questions aChapter 4 Operators and expressionChapter 5 Control structure if else and switch caseChapter 6 Looping in c for, while, do whileChapter 7 ArrayChapter 8 PointerChapter 9 StringChapter 10 FunctionsChapter 11 C PreprocessorChapter 12 StructuresChapter 13 UnionChapter 14 File handlingChapter 15 Input
Write a c program to find out the last date of modification.
#include
#include
#include
void main(){
struct stat status;
FILE *fp;
fp=fopen("test.txt","r");
fstat(fileno(fp),&status);
clrscr();
printf("Last date of modification : %s",ctime(&status.st_ctime));
getch();
}
Explanation:
Function int fstat(char *, struct stat *) store the information of open file in
What is difference between file opening mode r+ and w+ in c?
Both r+ and w+ we can read ,write on file but r+ does not truncate (delete) the content of file as well it doesn�t create a new file if such file doesn�t exits while in w+ truncate the content of file as well as create a new file if such file doesn�t exists.
WRITE A C PROGRAM TO FIND SIZE OF A FILE
C program to get total file size
#include
#include
#include
void main()
{
struct stat status;
FILE *fp;
fp=fopen("test.txt","r");
fstat(fileno(fp),&status);
clrscr();
printf("Size of file : %d",status.st_size);
printf("Drive name : %c",65+status.st_dev);
getch();
}
Explanation:
Function int
WHAT IS FILE?
File is named location of stream of bits. It may be stored at singe place or different places but it represents a single stream.
Tuesday, September 8, 2009
PREPROCESSOR TUTORIAL IN C
INDEX
Topic 1 Good questions of preprocessorTopic 2 What is preprocessor?Topic 3 Why preprocessor in c programming language?Topic 4 List all preprocessor directives.Topic 5 Explain macro substitution directive?Topic 6 File inclusion directive or #include directive?Topic 8 # and ## operatorTopic 9 #pragmaTopic 10 #pragma inlineTopic 11 #pragma warnTopic 12 #pragma startup and #pragma
STRING TUTORIAL IN C
Topic 1 Good questions on String Topic 2 Function prototype Topic 3 Function retun type Topic 4 pascal and cdecl keyword Topic 5 Function recursion Topic 6 Passing and returning array to function Topic 7 Passing and returning structure to function Topic 8 Passing and returning
CONTROL STATEMENT IN C
Topic 1 Good questions on Control structure
Topic 2 if � else Topic 3 Nested if �else Topic 4 Hanging if Topic 5 Switch case
DELETE ELEMENT FROM AN ARRAY AT DESIRED POSITION USING C
Write a program (wap) to delete
an element at desired position from an array in c language
#include
int main(){
int a[50],i,pos,size;
printf("\nEnter
size of the array: ");
scanf("%d",&size);
printf("\nEnter
%d elements in to the array: ",size);
for(i=0;i
scanf("%d",&a[i]);
printf("\nEnter
position where to delete: ");
VARIABLES IN C
Topic 1 Good questions on Variables
Topic 2 Variable naming rulesTopic 3 L-vales and R-valesTopic 4 Escape characterTopic 5 Decimal, Octal and Hexadecimal number systemTopic 6 Global identifierTopic 7 Storage classTopic 7 Ellipsis
Index Big Index
GREATEST AMONG 3 NUMBERS USING BINARY MINUS IN C
void main(){int a,b,c;clrscr();printf("\nEnter 3 numbers: ");scanf("%d %d %d",&a,&b,&c);if(a-b>0 && a-c>0)printf("\nGreatest is a :%d",a);elseif(b-c>0)printf("\nGreatest is b :%d",b);elseprintf("\nGreatest is c :%d",c);getch();}
A 5 DIGIT NUMBER IS INPUT THROUGH THE KEY BOARD. OUTPUT IS A NEW NUMBER ADDING 1 TO EACH OF ITS DIGITS. IN C
A 5 digit number is input through the key board. Output is a new
number adding 1 to each of its digits in c programming
#include
int add(long int);
int main(){
long int num;
int add(long int);
printf("\nEnter a 5 digit number:
");
scanf("%ld",&num);
add(num);
return 0;
}
add(long int num){
long int r;
if(num){
r=num%10;
r=r+1;
PRINT GIVEN STRING FROM FIRST OCCURRENCE OF GIVEN CHARACTER USING C PROGRAM
#include#includevoid main(){ char *p; char s[20],s1[1]; clrscr(); printf("\nEnter a string: "); scanf("%[^\n]",s); fflush(stdin); printf("\nEnter character: "); gets(s1); p=strpbrk(s,s1); printf("\nThe string from the given character is: %s",p); getch();}
ASSEMBLY LANGUAGE PROGRAMMING BY C
Assembly language programming by c programming
language using asm keyword questions, answers and explanation
(1) What will be
output of following c program?
#include
int main(){
asm{
mov ax,61;
mov bx,10;
add bx,ax;
}
printf("\n%d",_BX);
return 0;
}
Output: 71
Explanation:
ax and bx is
general purpose register.
COUNT THE NUMBER OF OCCURRENCES OF ANY TWO VOWELS IN SUCCESSION IN A LINE OF TEXT USING C
#include int isvowel(char chk);int main(){ char text[1000], chk; int count; count = 0; while( (text[count] = getchar()) != '\n' ) count++; text[count] = '\0'; count = 0; while ( (chk = text[count]) != '\0' ) { if ( isvowel(chk) ) { if ( (chk = text[++count]) && isvowel(chk) ) {
Print prime numbers between 1-300 using break and continue in c
prime numbers between 1-300 using break and continue in c
#include
#include
main(){
int i, j;
i = 2;
while ( i < 300 ){
j = 2;
while ( j < sqrt(i) ){
if ( i % j == 0 )
break;
else{
++j;
continue;
}
}
if ( j > sqrt(i) )
printf("%d\t", i);
++i;
C PROGRAM TO CALCULATE AREA OF A CIRCLE
C
program for area of circle
#include
#define PI 3.141
int main(){
float r, a;
printf("Radius: ");
scanf("%f", &r);
a = PI * r * r;
printf("%f\n", a);
return 0;
}
Mathematical
formula for area of circle:
Here
Pie is constant which is equal to
Pie = 22/7 or
3.14159265358979323846264338327950288419716939937510...
FILE HANDLING TUTORIAL IN C
What is file?
What is stream?
What is FILE pointer?
What is buffer?
How can we know size and drive where file has stored of any given file?
Find out the last date of modification of any given file?
How can we know read/write permission any given file?
How can we know, given file is regular file, character special or it is directory?
What is difference between file opening
MEMORY MAP TUTORIAL IN C
1.Good questions on Memory map
knowledge before staring c programming language
2. List the five c compiler?3. Describe turbo c compiler?4. What is hexadecimal number system?5. What will be address range which can be represented in 20 bit?6. What is difference between TSR and TSO program?7. Why there are so many c compilers?8. What is difference between .com program and .exe program?9. How many
DATA TYPE TUTORIAL IN C
Topic 1 Types of data Topic 2 What is qualifier or modifier Topic 3 How can you say typedef is storage class Topic 4 Size of data type Topic 5 const and volatile modifierTopic 6 Memory repersentation of char data typeTopic 7 Endianness of microprocessorTopic 8 Memory repersentation of int data typeTopic 9 Memory representation of long data typeTopic 10 Memory representation of floatTopic
DRAW THE FOLLOWING PYRAMID IN C
1
0 1
1 0 1
0 1 0 1
void main(){ int i,j; clrscr(); for(i=1;i<10;i++) { for(j=i;j>=1;j--) { printf("%d",j%2); } printf("\n"); } getch();}
0 1
1 0 1
0 1 0 1
void main(){ int i,j; clrscr(); for(i=1;i<10;i++) { for(j=i;j>=1;j--) { printf("%d",j%2); } printf("\n"); } getch();}
AMICABLE PAIRS PROGRAM IN C
Two numbers are said to be amicable if sum of proper divisors of 1st is equal to the 2nd and vice versa. It is assumed that these two numbers shoud be distinct, e.g. 3 is equal to the sum of its proper divisors 1 and 2 but can not form an amicable pair.
#include
int main()
{
long int range, test, chk, div, sum, n1, n2;
printf("Input range to check amicable numbers: ");
COUNT NO OF OCCURRENCES OF A CHARACTER IN A STRING USING getchar() AND putchar() IN C
#includemain(){ char name[20]; int i,count=0; clrscr(); for(i=0;i<20;i++) { name[i]=getchar(); putchar(name[i]); if(name[i]=='\n') break; else if(name[i]=='a') count++; } printf("\nThe number of a's in name :%d",count); getch(); return 0;}
CONCATENATE MANY FILES AND STORE THEM IN A FILE IN C
.fieldsetOut{
background:#1E90FF;
padding:0px 0px 0px 0px;
font-family: "courier new"
}
.fieldsetIn{
background:white;
margin:1px 1px 1px 1px;
padding:1px 1px 1px 1px;
border: 0px 0px 0px 0px
}
.explanation{
color:#800000;
font-size:25px;
font-weight:900;
letter-spacing:15
}
Concatenate
many files and store them in a file in c programming language
#include
C PROGRAM FOR INSERTION SORT
.fieldsetOut{
background:#1E90FF;
padding:0px 0px 0px 0px;
font-family: "courier new"
}
.fieldsetIn{
background:white;
margin:1px 1px 1px 1px;
padding:1px 1px 1px 1px;
border: 0px 0px 0px 0px
}
.explanation{
color:#800000;
font-size:25px;
font-weight:900;
letter-spacing:15
}
Source code of simple insertion
sort implementation using array in ascending order in c
Subscribe to:
Posts (Atom)