main()
{
int a=4,b=2;
a=b<<a + b>>2;
printf("%d", a);
}
Answer Posted / abhishek ranjan
32
| Is This Answer Correct ? | 37 Yes | 3 No |
Post New Answer View All Answers
Why is extern used in c?
What is the process of writing the null pointer?
How to explain the final year project as a fresher please answer with sample project
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
What is string in c language?
What are the ways to a null pointer can use in c programming language?
Is a house a shell structure?
how to print the character with maximum occurence and print that number of occurence too in a string given ?
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
how logic is used
How can you increase the allowable number of simultaneously open files?
What is null pointer constant?
Explain what is the heap?
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
Why is main function so important?