#include<stdio.h>
#include<conio.h>
void main()
{
int rollno,m1,m2,m3,m4,m5,tot;
float avg;
char [20]name;
clrscr();
printf("Enter the name,rollno,mark");
scanf("%d%d%d%d%d%d%s",&rollno,&m1,&m2,&m3,&m4,&m5,&name);
tot=m1+m2+m3+m4+m5;
avg=tot/5;
printf("the avg is",avg);
getch();
}
swap (int *pa, int *pb) { *pa ^= *pb; *pa ^= *pa; *pa ^= *pb; }
As for pointers, I think you have to readjust them. Pointers are just variables that store a memory address in them. You can have as many pointers that point to a single location in memory as you want.
yes we can run java program without using main. we can run program by declaring the variable static..
You can make use of pointers to achieve this.void add( int *a, int *b){(*a) += (*b);}Now if two numbers a and b are given and you need to store the value in variable c, then you would perform:c = a;add(&c,&b);
Yes,we can compile our program without header file without any error,but we can not use any predefine functions like printf,scanf.
They are pointers without type
Because the laser pointers are much easier to use than the ball pointers. The ball pointers are often difficult to move around while the laser pointers can move in any direction without "getting stuck"
swap (int *pa, int *pb) { *pa ^= *pb; *pa ^= *pa; *pa ^= *pb; }
Home-works.
Michael Jordan
The bachelors degree it designed as a four year program of study as a full-time student, and provided the student takes the degree as prescribed by the college or university.
No.
Both because a teacher cannot teach without a student and a student cannot learn without a teacher.
student with books are more knowledge than students without books because students without books is less knowledge.
The following cases are all possible:- program without any for and while- program without for- program without while- program with both for and while
Student loans are provided without consigner based on needs. For example if you are independent from your parents, you can qualify for student loans without cosigner.
No, there are no Universities in Egypt that will accept a student without an SAT score.