#2
| |||
| |||
Re: TCS Technical Interview Questions
Here are the some of the questions which are generally asked in the Technical round of the interview: What is the value of the variable a3 after execution of the following code? String a1,a2,a3; a1=56 a2=68< a3=a2+a1 6856 5668 124 error If the int variables int1 and int 1 conatin values 5 and 2 respectively, then the vlue of (double)(int1/int 2) 0.25 0 2.0 2.5 What are th output of following code: for(x=10;x<+ 50;x+=10) y= x/2; cout<< y ; 25 50 12 10 Write one statement equivalent to the following two statements: x=sqr(a); return(x); return(sqr(a)); printf("sqr(a)"); return(a*a*a); printf("%d",sqr(a)); The rand() built in library function is a true random number generator returns positive double values is a pseudo-random number generator returns a different sequence of values each time it is run. What is the output of the following code? x=15;y=0; if(x=10) y=7; else y=1; cout<< y; 7 0 1 6 Other question which are asked are given below: • Write a program to find factorial of a number using recursive function. • Describe 2 different ways to concatenate two strings. • Give syntax for SQL and ORACLE joins. • How is modularity introduced in C++? • What is the difference between a Stack and a Queue. • Give example to differentiate between call by value and call by reference. • Why the usage of pointers in C++ is not recommended ? • What do you mean by Data mining? • Write a program to reverse a string. |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MBA Graduates Interview Questions | payal | Online MBA Discussions | 2 | 17th April 2018 04:22 PM |
Questions of MBA Interview | mamta | Online MBA Discussions | 2 | 7th April 2018 01:00 PM |
LG Interview Questions for MBA | payal | Online MBA Discussions | 2 | 2nd April 2018 10:34 AM |
Technical Interview Questions for MBA HR | payal | Online MBA Discussions | 2 | 22nd February 2018 02:02 PM |
Rsm MBA interview questions | Saksham | Main Forum | 0 | 22nd October 2015 09:20 AM |
HLL Lifecare Interview Questions | Unregistered | Main Forum | 0 | 18th July 2015 08:56 AM |
Powergrid Interview Questions | Unregistered | Main Forum | 0 | 16th July 2015 05:23 PM |
Questions Asked In IAF Interview | Unregistered | Main Forum | 0 | 15th July 2015 05:09 PM |
JKSSB Interview Questions | Unregistered | Main Forum | 0 | 15th July 2015 10:57 AM |
Hal Interview Questions Instrumentation | Tearmalap | Main Forum | 2 | 30th September 2013 11:18 AM |
EIL Interview Questions | Harinderf | Main Forum | 1 | 30th March 2013 12:27 PM |
IIM Interview Questions | gksahu3 | Main Forum | 1 | 16th February 2013 01:38 PM |
IIM Bangalore Interview Questions | premk singh | Main Forum | 1 | 29th January 2013 03:24 PM |
VB 100 Interview Questions | Unregistered | Main Forum | 1 | 17th December 2012 04:42 PM |
IIM Questions Answer Interview | Unregistered | Main Forum | 1 | 10th December 2012 04:11 PM |
HAL Interview Questions Electronics | Ananda Chandra Nayak | Main Forum | 3 | 30th November 2012 09:43 AM |
IIM Interview Questions India | santhosh1014 | Main Forum | 1 | 22nd November 2012 02:28 PM |
EIL Interview Questions Mechanical | Ritu khare.m | Main Forum | 1 | 22nd October 2012 11:29 AM |
Interview questions in com DCOM | palwindersingh.1 | Main Forum | 1 | 5th October 2012 03:45 PM |
SSC Interview Questions CGL | Unregistered5 | Main Forum | 1 | 25th August 2012 03:40 PM |
|