write a program for input is 56 output will be 5+6=10?
Answer Posted / mani kandan.s
#include<stdio.h>
#include<conio.h>
void main()
{
int n,a,b;
clrscr();
printf("Enter the n value");
scanf("%d",&n);
a=n%10;
b=n/10;
printf("Result is=%d",a+b);
getch();
}
Is This Answer Correct ? | 14 Yes | 3 No |
Post New Answer View All Answers
write a progremme using function 0f prime no.?
What is the mistake in the following program segment ? f() { int a; void c; f2(&c,&a);}
what is the differences between DTD's and XML schema?
how to send request to the direct server rather than proxy server
i have applied for junior engg. signal II please send me questions papers for it
what is the definition(body) of a default constructor in c++?
wht is difference b/ osi & tcp/ip model
Write a program in āCā language that will perform the following operation on static stack. 1. push 2. pop 3. Display 4. Exit Create separate functions for each operation. The push() should accept one argument of structure type and will not return any thing. The pop() function will not receive any argument & return structure type value. The stack & top must be declare as external variable. Each element of stack will contain the following information Roll No, Std Name, Course. Use do-while loop & switch case for generating the above menu. The format of the output should is given below: S.No. Roll No. Student Name Course 1 cse01 Anil Singh B.Tech
Explain power?
what is isolator
Write a program to input 10 elements in an array and seperate even and odd numbers, positive and negative between them ?
when load increase in generator in island mode, why turbine rpm is reduced
Write a c pgm to print the letter as per given condition i.e.. if u give 4 out put should b 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
Hi i want some previous interview questions and answers for KVB Bank.
i want to know how can i divide the bandwidth among two computers.say i have a connection of 256 kbps dsl connection. i have a switch.now i want to divide this 256 kbps in two 128,128 equal connections.so that both of us can work on our separate 128 speed