Arista Networks Interview Report
- 0of 0 votes
Answersint rows=20000; int col=30000; void func1() { for(i=0;i<rows;i++) { for(j=0;j<col;j++) print(a[i][j]); } } void func2() { for(j=0;j<columns;j++) { for(i=0;i<rows;i++) print(a[i][j]); } }
which function is more efficient ?
- gladiator January 19, 2012 in United States| Report Duplicate | Flag | PURGE
Arista Networks - 15of 15 votes
Answersif(fork())
- gladiator January 19, 2012 in India
printf("MAGIC\n");
what is output??| Report Duplicate | Flag | PURGE
Arista Networks
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.