#include stdio.h
#include conio.h
void main()
{
void intrchng(int*,int*);
int a,b;
printf("enter 1st value a:");
scanf("%d",&a);
printf("\nenter 2nd value b:");
scanf("%d",&b);
printf("\n after interchanging,outputs are\n");
intrchng(&a,&b);
printf("value of a: %d",a);
printf("value of b:%d",b);
}
void intrchng(int* ptra,int* ptrb)
{
int* temp;
temp = ptra;
ptra= ptrb;
ptrb= temp;
}
}
swapping is nothing but interchanging the values of a given character for example : if a=5 , b=4 before swapping then it becomes a=4,b=5 after swapping
A type construction: one or more values with the same type and name.
Object oriented programming and structured programming.
You hold values by storing them in variables. If you need to hold values between executions, store them in non-volatile memory, such as a disk file.
There are two programming languages which use a C switch statement. The two languages are C and C++, hence the name C switch statement. There may be more, but those are the most obvious ones
C++, Perl, Fortran
In C programming, there aren't any parent or child functions.
A boolean is a variable type that can only be two different values True or False same as it is in most programming languages but in C# booleans are stated as: public bool var = True; or public bool var = False;
C and C++ are both high-level programming languages.
'int' is one of the built-in data-types, it is meant to hold integer values.
create spiral in c programming?
C - programming language - was created in 1972.