Main(){ int I =10, j = 20; clrscr(); printf("%d, %d, ", j-- , --i); printf("%d, %d ", j++ , ++i);}
A) 20, 9, 19, 10b) 20, 9, 20, 10c) 20, 10, 20, 10d) 19, 9, 20, 10
The O/P in this question is not compiler dependant. The language specification of C clearly states that the arguments to the function are supposed to be passed from right to left. So irrespective of the compiler there should be only 1 answer
20, 9, 19, 10
This is supposed to be same in both C and C++. According to ISO ANSII standard the answer to this is "undefined".
Skill/topic: queues using linked listsa) queue linked listb) stacks linked listc) both of themd) neither of themexplanation: a queue linked list is a data structure that organizes data similar to a line in the supermarket, where the first one in line is the first one out.
A:) be the Ans.
Ans is A.
Skill/topic: stacks using linked lista) trueb) false
True: Stack follows Last In First Out
Its TRUE.It follows FIRST IN LAST OUT.
Answer to Question 4.Here I am giving the full program which should run without any warning and error in Turbo C++ 3.0<-------------------------------------------------------------------------...
#include <stdio.h>#include <math.h>#include <stdlib.h>int main(void){ int x,y,ref; int numbits=0; printf("Input the desired...