Questions

Q:

C program to find whether a number is palindrome or not.

Answer

 #include<stdio.h>
int main(){
    int num,r,sum=0,temp;

    printf("Enter a number: ");
    scanf("%d",&num);

    temp=num;
    while(num){
         r=num%10;
         num=num/10;
         sum=sum*10+r;
    }
    if(temp==sum)
         printf("%d is a palindrome",temp);
    else
         printf("%d is not a palindrome",temp);

    return 0;
}

Sample output:
Enter a number: 131
131 is a palindrome

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 2138
Q:

What are the minimal cost and minimal risk solution?

Answer

In binary representation there are some states that believed to be never occurred due to some particular functionality of a given circuit. If zero output is assigned to such states then it is called minimal risk solution as  we are resetting the formidable states which could be occurred accidentally. Another approach is to assigned a don't care to them so it results in lesser logic and hence is called minimal cost solution.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2138
Q:

Who invented FM radio?

A) Edwin Howard Armstrong B) Thomas Alva Edison
C) Graham Bell D) Galileo
 
Answer & Explanation Answer: A) Edwin Howard Armstrong

Explanation:
Report Error

View Answer Report Error Discuss

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

0 2138
Q:

Which neighbouring country of India is also reffered as 'Druk Yul'?

A) Myanmar B) Maldives
C) Bhutan D) Afghanistan
 
Answer & Explanation Answer: C) Bhutan

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

1 2138
Q:

Which among the following has the maximum density?

A) Water B) Ice
C) Ethylene D) Acetone
 
Answer & Explanation Answer: A) Water

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

0 2138
Q:

Which river in the Southern Peninsula has the second largest river basin in India?

A) Godavari B) Krishna
C) Cauvery D) Mahanadi
 
Answer & Explanation Answer: A) Godavari

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

0 2138
Q:

In the following question, out of the four alternatives, select the alternative which is the best substitute of the phrase.
Phobia of dogs

A) Orophobia B) Cynophobia
C) Vatrachophobia D) Phemophobia
 
Answer & Explanation Answer: B) Cynophobia

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2138
Q:

Select the synonym of
stash

A) dearth B) deficit
C) lack D) cache
 
Answer & Explanation Answer: D) cache

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2138