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

All posts related to Programming

Asghar Hussein
Shared from C Programming on Sep 25, 2015 7:58 PM

What would be the output of following program?
void main()
{
int i = 4,j = 3;
printf ("%d..%d");
}

 
4..3
3..4
3..3
Garbage value
Please type your answer before submitting.

This follows the fifo order

Asghar Hussein
Shared from C Programming on Sep 25, 2015 7:56 PM

What would be the output of following program?
#define square(N) N*N
void main()
{
int a;
a = 64/square(4);
printf("%d",a);
}

 
16
64
8
1
Please type your answer before submitting.

64/(4*4)=64/(16)=4 answer 4 it is correct

Gagan
Shared from Programming Language on Oct 05, 2013 5:59 PM

What will be the output of following code?
The value of 'n` is `3` and the value of 'm' is `0`.

for(i=1;i<=n;i++)
{
m=i+m;
printf("%d %d ",i,m);
}

 
1 1
2 2
3 3
1 1
2 3
3 6
112336
1 1 2 3 3 6
Please type your answer before submitting.

C is correct along to its iterations and there is no any new line character like '\n' so after each iteration sequence does not print on next line ,so a and b option are incorrect and also there is no any tab character for space in each character like '\t' so option d is incorrect.

Kirit Shukla
Shared from Computers Test - 5 on Jun 13, 2013 6:57 PM

Hexadecimal equivalent of (74)10 is _______.

 
4A
13D
5C
3C
Please type your answer before submitting.

100% its wrong plz. Explain me My side the correct ans is a=13c

Neha Kulkarni
Shared from IIT JAM 2005 on Mar 21, 2013 4:13 PM

What is the output of the following program?

 
13
5
8
10
Please type your answer before submitting.

Can't get this answer