Questions

Q:

What will be output of following c code?

void main()
{
struct bitfield
{
unsigned a:5;
unsigned c:5;
unsigned b:6;

}bit;
char *p;
struct bitfield *ptr,bit1={1,3,3};
p=&bit1;
p++;
clrscr();
printf("%d",*p);
getch();
}

Answer

Output: 12

Explanation:
Binary value of a=1 is 00001 (in 5 bit)
Binary value of b=3 is 00011 (in 5 bit)
Binary value of c=3 is 000011 (in 6 bit)

In memory it is represented as:
Let address of bit1 is 500 which initialize to char pointer p. Since can is one byte data type so p++ will be 501. *p means content of memory location 501 which is (00001100) and its binary equivalent is 12. Hence output is 12.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3409
Q:

As per the newspaper report, the world's second largest generic Pharama company, Sandoz is in talks to take over YK Hamied - promoted domestic pharma company. The company in the question is _______

A) Cipla B) Wockhardt
C) Hamdard D) Sun Pharma
 
Answer & Explanation Answer: A) Cipla

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

13 3409
Q:

Point out which from the following is NOT a right enumerated in the Constitution of India but has been articulated by the Supreme Court to be a Fundamental Right

A) Right to privacy B) Certiorari
C) Abolition of untouchability D) Right to form association or Union
 
Answer & Explanation Answer: A) Right to privacy

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

7 3409
Q:

Fear of crossing road is called as

A) Emetophobia B) Aerophobia
C) Erythrophobia D) Agoraphobia
 
Answer & Explanation Answer: D) Agoraphobia

Explanation:

Fear of places and situations that might cause panic, helplessness or embarrassment is called Agoraphobia. 

Fear of crossing road causes some panic in them and comes under Agoraphobia.

Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

6 3408
Q:

What is the name of the law for the storage and use of data in the UK?

Answer

Data Protection Act

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 3408
Q:

Crack the code?

english1526360782.jpg image

Answer

STARTLING is a required 9 letter English word is still a word each time you remove a letter from the word. And how it is shown below: 


 


1. Remove the L, and the word becomes: STARTING


2. Remove one T, and the word becomes: STARING


3. Remove the A, and the word becomes: STRING


4. Remove the R, and the word becomes: STING


5. Remove the other T, and the word becomes: SING


6. Remove the G, and the word becomes: SIN


7. Remove the S, and the word becomes: IN


8. Remove the N, and the word becomes: I

Report Error

View answer Workspace Report Error Discuss

5 3408
Q:

Which of the following became widespread during the 1980's?

A) Internet B) Radio
C) Cable television D) All the above
 
Answer & Explanation Answer: C) Cable television

Explanation:

Cable television or cable TV became widespread during the 1980's.

Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

6 3408
Q:

What are the sub-components of I/O manager in Windows NT?

Answer

- Network redirector/ Server


- Cache manager.


- File systems


- Network driver


- Device driver

Report Error

View answer Workspace Report Error Discuss

0 3407