What will be the output of the program?
#include<stdio.h>
int main()
{
int i=1;
if(!i)
printf(“SimpleWay2Code,”);
else
{
i=0;
printf(“C-Program”);
main();
}
return 0;
}
What will be the output of the program?
#include<stdio.h>
int main()
{
int i=1;
if(!i)
printf(“SimpleWay2Code,”);
else
{
i=0;
printf(“C-Program”);
main();
}
return 0;
}
What is the output of this C code?
#include <stdio.h>
void main()
{
static int x = 3;
x++;
if (x <= 5)
{
printf(“hello”);
main();
}
}
What is the output of this C code?
#include <stdio.h>
void main()
{
static int x = 3;
x++;
if (x <= 5)
{
printf(“hello”);
main();
}
}
What is the output of this code having void return-type function?
#include <stdio.h>
void foo()
{
return 1;
}
void main()
{
int x = 0;
x = foo();
printf(“%d”, x);
}
What is the output of this code having void return-type function?
#include <stdio.h>
void foo()
{
return 1;
}
void main()
{
int x = 0;
x = foo();
printf(“%d”, x);
}
The value obtained in the function is given back to main by using ________ keyword?
The value obtained in the function is given back to main by using ________ keyword?
What is the output of this C code?
#include <stdio.h>
void main()
{
m();
void m()
{
printf(“SimpleWay2Code”);
}
}
What is the output of this C code?
#include <stdio.h>
void main()
{
m();
void m()
{
printf(“SimpleWay2Code”);
}
}
The output of the code below is
#include <stdio.h>
int *m()
{
int *p = 5;
return p;
}
void main()
{
int *k = m();
printf(“%d”, k);
}
The output of the code below is
#include <stdio.h>
int *m()
{
int *p = 5;
return p;
}
void main()
{
int *k = m();
printf(“%d”, k);
}
What is the problem in the following declarations?
int func(int);
double func(int);
int func(float);
What is the problem in the following declarations?
int func(int);
double func(int);
int func(float);
How many times the program will print “SimpleWay2Code” ?
#include<stdio.h>
int main()
{
printf(“SimpleWay2Code”);
main();
return 0;
}
How many times the program will print “SimpleWay2Code” ?
#include<stdio.h>
int main()
{
printf(“SimpleWay2Code”);
main();
return 0;
}
What is the return-type of the function sqrt()
What is the return-type of the function sqrt()
The output of the code below is
#include <stdio.h>
void main()
{
int k = m();
printf(“%d”, k);
}
void m()
{
printf(“hello”);
}
The output of the code below is
#include <stdio.h>
void main()
{
int k = m();
printf(“%d”, k);
}
void m()
{
printf(“hello”);
}
A sum of money doubles itself in 7 years. In how many years it becomes four fold?
A sum of money doubles itself in 7 years. In how many years it becomes four fold?
A fast train takes 3 hours less than a slow train for a journey of 600 km, If the speed of the slow train is 10 km/hr less than that of the fast train, the speeds of the two trains are
A fast train takes 3 hours less than a slow train for a journey of 600 km, If the speed of the slow train is 10 km/hr less than that of the fast train, the speeds of the two trains are
The value of 5^1/4 × (125)^0.25 is
Here ^ indicates Power
The value of 5^1/4 × (125)^0.25 is
Here ^ indicates Power
A car travels 25km an hour faster than a bus for a journey of 500km. If the bus takes 10 hours more than the car, then the speeds of the bus and the car are
A car travels 25km an hour faster than a bus for a journey of 500km. If the bus takes 10 hours more than the car, then the speeds of the bus and the car are
A person purchases tomatoes from each of the 4 places at the rate of 1 kg, 2 kg, 3 kg, 4 kg per rupee respectively. On an average he has purchased x kg of tomatoes per rupee. Then the value of x is
A person purchases tomatoes from each of the 4 places at the rate of 1 kg, 2 kg, 3 kg, 4 kg per rupee respectively. On an average he has purchased x kg of tomatoes per rupee. Then the value of x is
If P : Q = 3 : 4 and Q : R = 5 : 6, then P : Q : R is:
If P : Q = 3 : 4 and Q : R = 5 : 6, then P : Q : R is:
An article is bought for Rs. 600 and sold for Rs. 750. The gain percent is:
An article is bought for Rs. 600 and sold for Rs. 750. The gain percent is:
If 5 spiders can catch five flies in five minutes, how many flies can hundred spiders catch in 100 minutes?
If 5 spiders can catch five flies in five minutes, how many flies can hundred spiders catch in 100 minutes?
In a 200 meters race, A beats B by 20 meters, while in a 100 meters race, B beats C by 5 meters. A beats C in a kilometer race by
In a 200 meters race, A beats B by 20 meters, while in a 100 meters race, B beats C by 5 meters. A beats C in a kilometer race by
When 75% of a number is added to 75, the result is the same number. The number is
When 75% of a number is added to 75, the result is the same number. The number is
Solve the following question and mark the most appropriate option.
If the letters of the words ‘DOCUMENT’ are rearranged as they appear in the English alphabet, the position of how many letters remain unchanged after the rearrangement?
Solve the following question and mark the most appropriate option.
If the letters of the words ‘DOCUMENT’ are rearranged as they appear in the English alphabet, the position of how many letters remain unchanged after the rearrangement?
Solve the following question and mark the most appropriate option.
The first and the second digits of each numbers given below are interchanged. Then, the first and the last digits of each new number thus formed are interchanged. Which of the following numbers then will be the highest?
Solve the following question and mark the most appropriate option.
The first and the second digits of each numbers given below are interchanged. Then, the first and the last digits of each new number thus formed are interchanged. Which of the following numbers then will be the highest?
Read the information given below and answer the question that follows.
A, B, C, D, E, F and G are travelling in a train compartment with III – tier A.C. berth. Each of them has a different profession of Engineer, Doctor, Architect, Pharmacist, Lawyer, Journalist and Pathologist. They occupied two lower berths, three middle berths and two upper berths. A, the Engineer is not on the upper berth. The Architect is the only other person who occupies the same type of berth as that of A. B and F are not on the middle berth and their professions are Pathologist and Lawyer respectively. C is a Pharmacist. G is neither a Journalist nor an Architect. E occupies same type of berth as that of the Doctor.
Read the information given below and answer the question that follows.
A, B, C, D, E, F and G are travelling in a train compartment with III – tier A.C. berth. Each of them has a different profession of Engineer, Doctor, Architect, Pharmacist, Lawyer, Journalist and Pathologist. They occupied two lower berths, three middle berths and two upper berths. A, the Engineer is not on the upper berth. The Architect is the only other person who occupies the same type of berth as that of A. B and F are not on the middle berth and their professions are Pathologist and Lawyer respectively. C is a Pharmacist. G is neither a Journalist nor an Architect. E occupies same type of berth as that of the Doctor.
-
What is G’s profession?
What is G’s profession?
-
Which of the following group occupies middle berth?
Which of the following group occupies middle berth?
-
Which of the following pairs occupy the lower berth?
Which of the following pairs occupy the lower berth?
-
Who is the Architect?
Who is the Architect?
Read the information given below and answer the question that follows.
P, Q, R, S, T, U and V are seven persons sitting around a circle facing at the center. R is fourth to the right of S who is second to the right of T. P is third to the left of T. U is not an immediate neighbour of S. V is not an immediate neighbour of P.
Read the information given below and answer the question that follows.
P, Q, R, S, T, U and V are seven persons sitting around a circle facing at the center. R is fourth to the right of S who is second to the right of T. P is third to the left of T. U is not an immediate neighbour of S. V is not an immediate neighbour of P.
-
Who is immediate left of P?
Who is immediate left of P?
-
Who is to the immediate right of U?
Who is to the immediate right of U?
-
Who is third to the right of V?
Who is third to the right of V?
-
Who is between T and S?
Who is between T and S?
The sentence has some blanks with four answer choices. Pick the best option which completes the sentence in the most meaningful manner.
He is anxious not only to acquire knowledge but also eager to display it
The sentence has some blanks with four answer choices. Pick the best option which completes the sentence in the most meaningful manner.
He is anxious not only to acquire knowledge but also eager to display it
Fill in the blank with the right options provided.
The passenger car sales showed a decline ______ 7% to 5.6%
Fill in the blank with the right options provided.
The passenger car sales showed a decline ______ 7% to 5.6%
Fill in the blank with the right options provided.
______ the new Safari Storme, Mahindra has more leverage in increasing the sales.
Fill in the blank with the right options provided.
______ the new Safari Storme, Mahindra has more leverage in increasing the sales.
Read the passage and answer the question based on it.
"Many people who are looking to get a pet dog get a puppy. There are many reasons why people get puppies. After all, puppies are cute, friendly, and playful. But even though puppies make good pets, there are good reason why you should consider getting an adult dog instead. When you get a puppy, you have to teach it how to behave. You have to make sure that the puppy is housebroken so that it does not got to the bathroom inside the house. You have to teach the puppy not to jump up on your guests or chew on your shoes. You have to train the puppy to walk on a leash. This is a lot of work. On the other hand, when you get an adult dog, there is a good chance that it will already know how to do all of the previously mentioned things. Many adult dogs have already been housebroken. Many adult dogs will not jump on or chew things that you do not want them to jump on or chew. Many adult dogs will be able to walk on a leash without pulling you to the other side of the street. Puppies also have a lot of energy and want to play all of the time. This can be fund, but you might not want to play as much as your puppy does. Puppies will not always sleep through the night or let you relax as you watch television. On the other hand, most adult dogs will wait on you to play. What is more, they will sleep when you are sleeping and are happy to watch television on the couch right beside you. There is one last reason why you should get an adult dog instead of a puppy. When most people go to the pound to get a dog, they get a puppy. This means that many adult dogs spend a lot of time in the pound, and some never find good homes. So if you are looking to get a dog for a pet, you should think about getting an adult dog. They are good pets who need good homes.
Read the passage and answer the question based on it.
"Many people who are looking to get a pet dog get a puppy. There are many reasons why people get puppies. After all, puppies are cute, friendly, and playful. But even though puppies make good pets, there are good reason why you should consider getting an adult dog instead. When you get a puppy, you have to teach it how to behave. You have to make sure that the puppy is housebroken so that it does not got to the bathroom inside the house. You have to teach the puppy not to jump up on your guests or chew on your shoes. You have to train the puppy to walk on a leash. This is a lot of work. On the other hand, when you get an adult dog, there is a good chance that it will already know how to do all of the previously mentioned things. Many adult dogs have already been housebroken. Many adult dogs will not jump on or chew things that you do not want them to jump on or chew. Many adult dogs will be able to walk on a leash without pulling you to the other side of the street. Puppies also have a lot of energy and want to play all of the time. This can be fund, but you might not want to play as much as your puppy does. Puppies will not always sleep through the night or let you relax as you watch television. On the other hand, most adult dogs will wait on you to play. What is more, they will sleep when you are sleeping and are happy to watch television on the couch right beside you. There is one last reason why you should get an adult dog instead of a puppy. When most people go to the pound to get a dog, they get a puppy. This means that many adult dogs spend a lot of time in the pound, and some never find good homes. So if you are looking to get a dog for a pet, you should think about getting an adult dog. They are good pets who need good homes.
-
The passage speaks of
The passage speaks of
-
Which is the best example of a dog that is housebroken?
Which is the best example of a dog that is housebroken?
-
The author apparently thinks that puppies are
The author apparently thinks that puppies are
-
Which is the best synonym for ‘behave’ as applicable to this passage?
Which is the best synonym for ‘behave’ as applicable to this passage?
-
The author begins paragraphs 2 and 4 with the phrase, “On the other hand”. This phrase is used to
The author begins paragraphs 2 and 4 with the phrase, “On the other hand”. This phrase is used to
The sentence has some blanks with four answer choices. Pick the best option which completes the sentence in the most meaningful manner.
- He does not fight because he is a coward person
The sentence has some blanks with four answer choices. Pick the best option which completes the sentence in the most meaningful manner.
- He does not fight because he is a coward person
In the sentence provided different ways of writing a sentence are indicated. Choose the best way of writing the sentence that is grammatically correct.
The vivid photos of majestic animals and colourful birds form the wild-life park is a graphic depiction of what is beautiful in the continent of Africa.
In the sentence provided different ways of writing a sentence are indicated. Choose the best way of writing the sentence that is grammatically correct.
The vivid photos of majestic animals and colourful birds form the wild-life park is a graphic depiction of what is beautiful in the continent of Africa.