Call Support +91-85588-96644
TCYonline

Login

Sign Up

Please enter a Username or Email ID
Please enter a password
Keep me logged in
Please enter your name
Please enter your mobile number
You can't leave Captcha Code empty
By submitting this form, you agree to the Terms & Privacy Policy.
OR

Sign Up via Facebook

Sign Up via Google

Sign Up via Twitter

Download Software
Tests given

Download TCY App

App Image
Related Tests
Mechanical Reasoning - 1
Take Test
Programming (C/C++)
Take Test
Error Identification
Take Test
Evaluating Inferences - 1
Take Test
Data Types, Variables and Storage Classes
Take Test

General Placement Papers Discussion

(34 Posts)

This thread is dedicated to discuss general Placement Papers.

Question should not exceed 100 characters.Use add options for multiple choice questions and "Uploadimage/Add related data" for passage text papers.
Question should be at least 10 characters long.
+
Add Options | Community Guidelines
Cancel
Pon Ganesan
Shared from Mechanical Reasoning - 1 on Jan 18, 2019 10:17 PM

 
Left, same
Left, faster
Left, slower
Right, same
Please type your answer before submitting.

left.same

Alka Yadav
Shared from Programming (C/C++) on Mar 11, 2017 5:29 PM

What will be the output of the following function?

# include<stdio.h>
void fun(int *f)
{
*f = 10;
}
void main()
{
const int arr[5] = {1,2,3,4,5};
fun(&arr[3]);
printf("%d",arr[3]);
}

 
10
4
3
Error
Please type your answer before submitting.

Why "error" while compiling this program I get 10 as an output, can you please explain me

Alka Yadav
Shared from Programming (C/C++) on Mar 11, 2017 5:22 PM

What will be the output of the following function?

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

 
12
22
11
None of these
Please type your answer before submitting.

While compiling above program I get 18 as output and some warning: { ques18.c: In function ‘main’: ques18.c:5:11: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] printf("%d %d", sizeof(*p),sizeof(p)); ^ ques18.c:5:14: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] printf("%d %d", sizeof(*p),sizeof(p)); } can you plz explain this

Subhojeet Sinha
Shared from Evaluating Inferences - 1 on Jul 21, 2016 12:17 AM

Consider the following statements.

1. Density = Mass ÷ Volume
2. If density increases, mass decreases.
3. If density increases, volume increases.
4. If mass increases, density increases at constant volume.

Which of the following inferences can be drawn from the above statements?

 
Mass and volume are inversely and proportionately related.
If mass increases, volume increases at constant density.
Mass and volume are directly and proportionately related.
Density and mass are directly and proportionately related.
Density and volume are inversely and proportionately related.
Please type your answer before submitting.

This wuestion is wrong!!! answer is also wrong!