Questions

Q:

Improve the following code using typedef.

struct node

{

      int data1;  float data2;

       struct node *left;

       struct node *right;

};

struct node *ptr;

ptr = (struct node *) malloc (sizeof (struct node) ); 

Answer

typedef struct node * treeptr


typedef struct node


{


         int data1;


         float data2;


         treeptr *left;


         treeptr *right;


}treenode;


treeptr ptr;


ptr = ( treeptr ) malloc ( sizeof ( treenode ) );

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2642
Q:

Which agency publishes the food code?

A) FDA B) FOI
C) FDO D) All of the above
 
Answer & Explanation Answer: A) FDA

Explanation:

FDA - Food and Drug Administration publishes the food code, a model that assists food control jurisdictions at all levels of government by providing them with a scientifically sound technical and legal basis for regulating the retail and food service segment of the industry which includes restaurents, grocerry stores, ...

Report Error

View Answer Report Error Discuss

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

0 2641
Q:

Which of the following animals have teeth in their stomach?

A) Frogs B) Crabs
C) Snakes D) Cockroach
 
Answer & Explanation Answer: B) Crabs

Explanation:
Report Error

View Answer Report Error Discuss

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

21 2640
Q:

Megahertz is a measurement of

A) Frequency B) Speed
C) Wavelength D) Capacity
 
Answer & Explanation Answer: A) Frequency

Explanation:

Megahertz is used to measure wave frequencies, as well as the speed of microprocessors. One MHz represents one million cycles per second. The speed of microprocessors, called the clock speed.

frequency_measurement1532346951.png image

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: AIEEE , Bank Exams , GATE
Job Role: Analyst , Bank Clerk , Bank PO

2 2640
Q:

A customer is repeatedly using abusive language, but he has a valid point; what would you do?

Answer



Reply I agree with Your answer and I am so sorry you've got been disappointed. Let's find a solution to work this out. statement let's thrusting you and the person as a group working together to solve the issue.


 

Report Error

View answer Workspace Report Error Discuss

1 2640
Q:

The technique of DNA fingerprinting in human was developed for first time by _________

A) Lalji Singh B) Alec Jeffreys
C) R. Ericson D) J. Black
 
Answer & Explanation Answer: B) Alec Jeffreys

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

6 2640
Q:

The Savannas of Orinoco Basin are termed as 

A) pampas B) steppes
C) prairies D) llanos
 
Answer & Explanation Answer: D) llanos

Explanation:

llanos is a tropical grassland while the remaining three are temperature grasslands

Report Error

View Answer Report Error Discuss

Filed Under: World Geography

1 2639
Q:

How do you detect if two 8-bit signals are same?

Answer

Pass input to XOR and give their outputs to OR gate, if your output is 0 both 8-bit signals are same.


OR


Pass input to XNOR and give their outputs to AND gate, if your output is 1 both 8-bit signals are same. 

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

1 2639