C Questions Note : All the programs are tested under Turbo C/C++ compilers. It is assumed that, Programs run under DOS environment, The underlying machine is an x86…
C Aptitude 1. void main() { int const * p=5; printf("%d",++(*p)); } Answer: Compiler error: Cannot modify a constant value. Explanation: p is a pointer to a "constant…
http://www.exforsys.com Page 1 6/26/2004 C Interview Questions Note : All the programs are tested under Turbo C/C++ compilers. It is assumed that, Programs run under DOS…
First Job…. Dream Job…. Freshersworld.com C Questions Note : All the programs are tested under Turbo C/C++ compilers. It is assumed that, Programs run under DOS environment,…
1. C interview questions and answers By admin | December 23, 2003 1. What will print out? main() { char *p1=“name”; char *p2; p2=(char*)malloc(20); memset (p2, 0, 20);…