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 Computer architect

Medha
Shared from Programming on Sep 07, 2013 7:52 PM

Character constants should be enclosed between

 
single quotes
double quotes
both (1) and (2)
none of these
Please type your answer before submitting.

Key is wrong character constant means char sample='a'; a is a character constant that is enclosed inside a single quote. Option c only holds true.Because character constant can be enclosed within double quotes

Abhishek
Shared from C++ Programming on Aug 28, 2013 11:55 AM

A static variable is

 
a variable, the value of which keeps on changing through out the program
a variable, the value of which increases in a uniform order
a variable, the value of which decreases constantly
a variable, the value of which remains constant through out the program
Please type your answer before submitting.

Wrong answer, in C "A variable, the value of which remains constant through out the program" is 'const' not the static. Static variable is variable that is initialized once and if you want you can change it's value in your program. Static variable can have different scopes e.g. class scope, function scope, file scope etc.. One more point, static variable can be accessed in it's scope only, but they are in memory till program exit.

Sumeet Mahendra
Shared from GK (Computers) on Aug 26, 2013 1:27 PM

An online transaction is

 
done in real time
done via internet
done via telephone
none of these
Please type your answer before submitting.

B

Ateev Chopra
Shared from Data Structure Quiz 11 on Aug 23, 2013 10:18 AM

How many strictly binary trees are possible with 5 nodes?

 
1
2
3
4
Please type your answer before submitting.

?

Noorain Rizwi
Shared from Basics of Data Structures on Aug 22, 2013 3:28 PM

In `C`, malloc ( ) function returns a pointer to

 
Integer
Character
Structure
String
Please type your answer before submitting.

It returns pointers to void. and it needs to be typecasted into the required type. If I am incorrect kindly correct my answer.