Key sequenced structures, entry sequenced structures
Key sequenced structure, exit sequenced structures
Entry sequenced structures, exit sequenced structures
None of the above
records that have an equivalent value for a given secondary index item are linked together to form a list
records are loaded in ordered sequence defined by collating sequence by content of key
records are directly accessed by records key field
none of the above
ptr++
*ptr
++ptr
++*ptr
A pointer to function that accept an integer argument and return an integer
A pointer to a, which returns an integer
A pointer to subroutine which returns an integer
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
* / % + - =
= * / % + -
/ * % - + =
* % / - + =
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));
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
How many times below for loop will be executed?
int main() { int i=0; for( ; ; ) printf("%d",i); return 0; }
0 times
Infinite times
10 times
1 times
Greater
Smaller
Compile Error
100
Character
Integer
Float
enum
calloc() takes a single argument while malloc() needs two arguments
malloc() takes a single argument while calloc() needs two arguments
malloc() initializes the allocated memory to ZERO
calloc() initializes the allocated memory to NULL
read a character from STDIN
read a character from a file
read all file
read file randomly