1. Write a c program to reverse any number.

2. Write a c program to find out sum of digit of given number.

2. Write a c program to find out sum of digit of given number.

10. Write a c program to find out NCR factor of given number.

11. How to convert string to int without using library functions in c

12. Program in c to print 1 to 100 without using loop

13. C program for swapping of two numbers

14. Program to find largest of n numbers in c

15. Split number into digits in c programming

16. C program to count number of digits in a number

11. How to convert string to int without using library functions in c

12. Program in c to print 1 to 100 without using loop

13. C program for swapping of two numbers

14. Program to find largest of n numbers in c

15. Split number into digits in c programming

16. C program to count number of digits in a number

how to find the greater number using the ternary operator.

ReplyDeletesend me answer at

vipinkumarr89@msn.com

suppose a,b

Deletec=a>b?a:b;

This comment has been removed by the author.

Deletecan somebody please tell me what "?" and ":" mean in C notation (specifically the above example)?

ReplyDeletethanks a lot

Largest amongst 3 no using ternary operator

Deletelarg=(a>b)?(a>c?a:c):(b>c?b:c);