What does %2f mean in c?
No Answer is Posted For this Question
Be the First to Post Answer
What is #include called?
how can i get output like this? 1 2 3 4 5 6
How can I make sure that my program is the only one accessing a file?
What is meant by 'bit masking'?
what is difference between ++(*p) and (*p)++
17 Answers Accenture, HCL, IBM,
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.
Explain how do you determine the length of a string value that was stored in a variable?
#include<std.h> int main() { char *str[]={"Frogs","Do","Not","Die","They","Croak!"}; printf("%d %d\n",sizeof(str),strlen(str)); ...return 0; } what will the output of the above program?
WHAT IS HEADER?
main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); } what is the output?
What is the difference between pure virtual function and virtual function?
#include<stdio.h> #include<conio.h> void main() { char ch='\356'; printf("%d",ch); } o/p=-18 why?plz.explain