Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...



Code Snippets Interview Questions
Questions Answers Views Company eMail

void main() { int const * p=5; printf("%d",++(*p)); }

Infosys, Made Easy, State Bank Of India SBI,

3 37221

main() { char s[ ]="man"; int i; for(i=0;s[ i ];i++) printf("\n%c%c%c%c",s[ i ],*(s+i),*(i+s),i[s]); }

DCE,

1 17388

main() { float me = 1.1; double you = 1.1; if(me==you) printf("I love U"); else printf("I hate U"); }

1 9709

main() { static int var = 5; printf("%d ",var--); if(var) main(); }

1 28461

main() { int c[ ]={2.8,3.4,4,6.7,5}; int j,*p=c,*q=c; for(j=0;j<5;j++) { printf(" %d ",*c); ++q; } for(j=0;j<5;j++){ printf(" %d ",*p); ++p; } }

1 33147

main() { extern int i; i=20; printf("%d",i); }

Value Labs,

1 14927

main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }

1 25615

main() { char *p; printf("%d %d ",sizeof(*p),sizeof(p)); }

6 23656

main() { int i=3; switch(i) { default:printf("zero"); case 1: printf("one"); break; case 2:printf("two"); break; case 3: printf("three"); break; } }

1 15346

main() { printf("%x",-1<<4); }

HCL, Sokrati, Zoho,

3 45683

main() { char string[]="Hello World"; display(string); } void display(char *string) { printf("%s",string); }

Wipro,

2 11626

main() { int c=- -2; printf("c=%d",c); }

TCS,

1 20450

#define int char main() { int i=65; printf("sizeof(i)=%d",sizeof(i)); }

1 33024

main() { int i=10; i=!i>14; Printf ("i=%d",i); }

1 28795

#include main() { char s[]={'a','b','c','\n','c','\0'}; char *p,*str,*str1; p=&s[3]; str=p; str1=s; printf("%d",++*p + ++*str1-32); }

1 4711


Un-Answered Questions { Code Snippets }

code to images to rollover

2376


Write a python program to check if a number is an armstrong number?

786


code to detect versions of different browsers like internet explorer, netscape, mozilla, opera etc

2171


Hi, I want the code to fetch multiple rows in REXX using RLX and CURSOR. Can anyone help me?

2409


Please give me the vb.net codes for deadlock(like detecting,& avoiding) in any version of vb.net.

3505


write a program to calculate the amount of investment after a period n years if the principal investors was p and interest is calculated using compound interest,formular=a=p(1+r)^n

2864


Given a circular list of integers (when you reach the end of the list you come back to the beginning), what is the most efficient algorithm to find the smallest integer in the list? For example: circular_list = [22, 52, 66, 82, 5, 8, 12, 19].

1751


code to get the coordinates of a Click Event

2232


Is it possible to write JAVA program without including any of the packages,such as "import java.io.*"; bcoz I instantly wrote a code without "import..." statement and runned the program on command Line & it worked. the code is: class Person { String name; int age; Person(String s,int a) { name = s; age = a; } accept() { System.out.println(name+"Hi!!!!!"); System.out.println(age); } } class Demo { public static void main(Strings args[])throws IOException { String name = args[0]; int age = Integer.parseInt(args[1]); Person p = new Person(name,age); p.accept(); } }

2112


Do you think about CMM(Capability Maturity Model) process?

990


How can I Draw an ellipse in 3d space and color it by using graph3d?

2651


program for straight line(y=mx+c)

6022


What is the coding about how to recognize color in fuzzy logic using Matlab R2009b?

2049


Write a python program to find the second largest number in a list?

914


write a simple calculator c program to perform addition, subtraction, mul and div.

3736