is executed only once if the conditions is true
is also known as entry-controlled loop
is executed at least once if the conditions is false
the unconditional loop
n**2
n(n-1)/2
n(n+1)/2
n+1)/2
TRUE
FALSE
* / % + - =
= * / % + -
/ * % - + =
* % / - + =
f1, f2, f3
f3, f2, f1
Order may vary from compiler to compiler
None of the above
put together the file and functions that are required by the program
translate the instructions into a form suitable for execution by the program
load the executable code into the memory and execute them
allow the user to type the program
//
/
#
/*
int *b[10], a[10];
int *b, a[10];
int b, *a[10];
int b, (*a)[10];
What is the output of the following code segment?
a = 11 b = 21 a = 11 b = 21
a = 11 b = 21 a = 12 b = 21
a = 11 b = 21 a = 11 b = 22
a = 11 b = 21 a = 12 b = 22
Consider a structure defined as follows:
sp.marks
sp -> rollNo
student.course
s -> name
int a[10];
int *p = (int *) malloc(10 * sizeof(int));
int *p = (int *) calloc(10, sizeof(int));
none of the above
What will be the output of the following code segment?
int a = 100, b = 74; if (a++ > 100 && b++ > 200) printf("High values with a = %d b = %d\n", a, b); if (a++ < 100 || b++ < 200) printf("Low values with a = %d b = %d\n", a, b);
High values with a = 101 b = 74
Low values with a = 102 b = 75
High values with a = 102 b = 75
Low values with a = 101 b = 74
no of students
char
7th
myName