C Program Ee
C Program Ee
Wap to swap two number using temp variable and without using
temp variable.
2. Wap to calculate the area and parimeter of rectangle.
3. Wap to convert temperature from celsius to fahrenheit.
4. Wap to read a floating piont number and display two right most digits
of the integral part.
5. Wap to check the status of given bit position of a number.
6. Wap to toggle a given bit position of number.
7. Wap to set a given bit position of number.
8. Wap to clear a given bit position of number.
9. Wap to print binary equivalent of given number.
10.
Wap to count no of bit is set and clear in a given no.
11.
Wap to swap the nibble of a given char.
12.
Wap to toggle even bit position of a given no .
13.
Wap to set the bit whose bit position is divisible by 3 in given no.
14.
Wap to reverse the bit position of a given no.
15.
Wap to take i/p x & y from user and evaluate following exp.
3(x +2 y )
2(x y )
7 y2 x
3 x y
16.
Wap to take i/p 3 number find the largest and smallest number
among them.(using conditional operator)
17.
Wap to check a given char, if char is in lower case then convert to
upper, if it is in upper case then convert to lower, if it is not a alphabet
then no change.(using conditional operator)
18.
Wap program to print all char with ascii value, hexadecimal value,
octal value and binary representation.
19.
Wap to print sum of digit of a given number.
20.
Wap to reverse a given integer.
21.
Wap to check a given no is palindrome or not.
22.
Wap to print prime no of given range
23.
Wap to find the factorial of given number.
24.
Wap to print Fibonacci series up to a given limit.
25.
Wap to check a given no is power 2 or not .
26.
Wap to print all Armstrong number of a given range.
27.
Wap to find sum of all number which is divisible by 7 within a
given range.
28.
Wap to i/p 10 integer in a array ,find no.of +ve, -ve, odd and even
number present.
29.
Wap to i/p 10 integer in a array ,find sum of all element.
30.
Wap to i/p 10 integer in a array ,rotate the array of given times.
31.
Wap to take i/p a string ,find no of alphabet,number,non-alphabet
present in that string
32.
Wap to take i/p a string , change the case of all alphabet in that
string.
33.
Wap to reverse a string (with temp string and without temp
string)
34.
Wap to print binary equvalent of a real number.
35.
Wap to Check system is little endian or big endian.
36.
Wap to function find the sum of digit of given function.
37.
Wap function to reverse a number .return type must be void and
reverse number is print in main().
38.
Wap to find the factorial of given number using recur.
39.
Wap to take i/p 10 integer in a array.Add 1 with odd index
element and substarct 1 from even index element
40.
Wap to take i/p 10 integer in a array.check each element,if
element is -ve convert it to +ve and vica versa
41.
Wap to convert decimal to hexadecimal (use string for store hexa
value)
42.
Wap to take i/p a integer 2D array (5*5),print the largest and
smallest element of each row.
43.
Wap to take i/p a integer 2D array (5*5),find the sum of each
row and store in 1D array.
44. Implement malloc as calloc.