Archive for the ‘Technical Questions’ Category

Some Links for Freshers   Leave a comment

www.brainbench.com (Free online C test) www.findyourspot.com (aptitude test papers) www.tektipsforum.com (u have to register to this site for help, it is a forum ) www.assesment.com (self test papers aptitude test maths) www.tutorials.com (All subjects tutorials) www.aspfree.com (asp free tutorials) www.beginners.co.uk (for jobs,tutorials) www.puzz.com (for puzzles) www.planetfreshers.tk (freshers’ stuff) www.intelinfo.com (hunt for free tech books) www.discoveryvip.com [...]

C – Q’s & A’s   Leave a comment

1.void main() { int cnt = 5, a; do { a /= cnt; } while (cnt –); printf (“%d\n”, a); } soln: divide error     2. main() { int k = 5; if (++k < 5 && k++/5 || ++k <= 8); printf(“%d\n”, k); } Ans 24     3..#include #define calc(a, b) (a [...]

C – Quiz   Leave a comment

1. #include<stdio.h> #define ABC 20 #define XYZ 10 #define XXX ABC – XYZvoid main() { int a; a = XXX * 10; printf(“%d\n”, a); } soln: -80 2) #include<stdio.h> void main() { int a, b, c, abc = 0; a = b = c = 40; if (c) { int abc; abc = a*b+c; } [...]

C – Quiz   Leave a comment

1) main() { char * str = “hello”; char * ptr = str; char least = 127; while (*ptr++) least = (*ptr<least ) ?*ptr :least; printf(“%d”,least); } a)0 b)104 c)127 d)Garbage Value Ans : A 2) What will be the output of the following program #include<stdio.h> void main() { unsigned long long int *a,x=50; a=&x; [...]

Follow

Get every new post delivered to your Inbox.