Sunday, September 30, 2007

TECH QUES

main ()
{
int a;
printf("\n%d",scanf("%d",&a));
}

Thursday, September 27, 2007

TECH QUES OF (9/28)

#define clrscr() 100
main()
{
clrscr();
printf("%d\n",clrscr());
}

TECH QUES OF (27/9)

main()
{
char *p="hai friends",*p1;
p1=p;
while(*p!='\0')
{
++*p++;
}
printf("%s %s",p,p1);
}

Wednesday, September 26, 2007

TECH QUES OF (9/26)

#include‹stdio.h›
#define a 10
main()
{
#define a 50
printf("%d",a);
}

Tuesday, September 25, 2007

20) A Bacteria is doubling at every 4 min. After 40 min there are 1024 bact. then 256 bact is in ????

Monday, September 24, 2007

APPTITUDE QUES OF (24/9)

What is the missing number in this series?

8 2 14 6 11 ? 14 6 18 12

Sunday, September 23, 2007

TECH QUES OF (9/23)

main()
{
int i, n;
char *x = "girl";
n = strlen(x);
*x = x[n];
for(i=0; i‹n; ++i)
{
printf("%s\n",x);
x++;
}
}

hi ,good morning

one small suggestion so far we have 6 moderators and an adminstrator to maintain this blog and send a mail to cmritglug@gmail.com for approval of new moderators .

please post answers to your question in atmost two days


ok bye

have a nice day

from
cglug

Saturday, September 22, 2007

TECH OF (9/22)

main()
{
char *str1="abcd";
char str2[]="abcd";
printf("%d %d %d",sizeof(str1),sizeof(str2),sizeof("abcd"));
}

VECTOR 2007 in VNR

for more info http://www.vector07.com/

Friday, September 21, 2007

technical ques (9/21)

How many tools are provided by JDK(Java Development Kit) and what are they?

tech


expect the output
main()
{
printf("\nab");
printf("\bsi");
printf("\rha");
}

Thursday, September 20, 2007

aptitude ques(9/20)

A wizard named Nepo says "I am only three times my son's age. Myfather is 40 years more than twice my age. Together the three of us are a mere 1240 years old." How old is Nepo?

Wednesday, September 19, 2007

TECH (9/19)

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

Tuesday, September 18, 2007

Aptitude Question

Three friends divided some bullets equally. After all of them shot 4 bullets the total number of bullets remaining is equal to the bullets each had after division. Find the original number divided.

Technical question

main()
{
int i=5;
printf("%d%d%d%d%d%d",i++,i--,++i,--i,i);
}

Monday, September 17, 2007

aptitude ques 2(9/16)

in 8*8 chess board what is the total number of squares

aptitude ques(9/16)

The sum of the digits of a number is 8. When 18 is added to the number, the digits are reversed. Find the number?

Sunday, September 16, 2007

APTITUDE QUES(9/15)

If it takes five minutes to boil one egg, how long
will it take to
boil four eggs?

TECH QUES OF THE DAY (9/15)

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

Saturday, September 15, 2007

aptitude question

If time at this moment is 9 P.M., what will be the time 23999999992 hours later?

Tech Ques(9/15)

Write a c program to reverse the string without using strrev() function?

Thursday, September 13, 2007

aptitude ques 2(9/13)

use four 4's and get the result as 20...use any kind of mathematical relations between these numbers......

aptitude ques(9/13)

two friends starts to ride motor bike opposite to each other and are separated by 36 km. they both ride with the speed of 6 kmph. A fly travels with the speed of 18 kmph to and fro between two friends. it starts to travel from one of the friends. What is the distance traveled by the fly when the friends meet?

please give u r feedback here

Hi ,

Thanks for your co-operation,we will be Happy if you post your feedback or suggestions to improve this Blog either comment or mail to cmritglug@gmail.com. The primary intention is to prepare ourself in both technical and aptitude wise for our upcoming campus placement and this Blog is public to our class (college) ofcource with few Administrators to monitor the activities and this is purely a team work.
thank you

from
cglug
rakesh

APPTI QUES OF 13-9

To travel 'm' miles the time is 'h' hours,then what is the time taken
to travel M miles. (question from wipro paper)

TECH QUES OF 13-9

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

Wednesday, September 12, 2007

Technical Quest of the day (9/12)

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

APTITUDE QUES (9/12)

A monkey starts climbing up a tree 20ft. tall. Each hour, it hops 3ft. and slips back 2ft. How much time would it take the monkey toreach the top?

Tuesday, September 11, 2007

apptitude ques 2 (9/11)

The square of a two digit number is divided by half the number. After 36 is added to the quotient, this sum is then divided by 2. The digits of the resulting number are the same as those in the original number, but they are in reverse order. The ten's place of the original number is equal to twice the difference between its digits. What is the number?

APPT. QUES (9/11)

can u name the biggest number that can be written with four 1's.?

TECH QUES (9/11)

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

Monday, September 10, 2007

try this out

1. One of the following is my secret word: AIM DUE MOD OAT TIE. With the list in front of you, if I were to tell you any one of my secret word, then you would be able to tell me the number of vowels in my secret word. Which is my secret word?

Technical Question of the day

What will be the output of the following code?
void main ()
{ int i = 0 , a[3] ;
a[i] = i++;
printf (“%d",a[i]) ;
}

Apptitude Questions of the day: Do you have change

Can you change a rupee note in such a way that there are exactly fifty coins?No 2 paisa coins.

Wednesday, September 5, 2007

Apptitude question

A MAN DRIVING THE CAR AT TWICE THE SPEED OF AUTO ONEDAY
HE WAS DRIVEN CAR FOR 10 MIN. AND CAR IS FAILED. HE LEFT
THE CAR AND TOOK AUTO TO GOTO THE OFFICE .HE SPENT 30 MIN.
IN THE AUTO. WHAT WILL BE THE TIME TAKE BY CAR TO GO OFFICE?
(a) 25 (b) 30 (c) 35 (d) none

Apptitude and Technical Questions for interview

can anyone tell the output of the following c program? try to reply with explanation ... all the best..

1. 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]);
}

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



3. 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);
}

Sunday, September 2, 2007

What is the Difference between "INSTALLATION" and "SETUP"?