Answer Posted / ravi
i++* is meaningless , do u want to ask *++i and *i++ diff ?
*++i --> it increments the i then access the value poiting
by i
*i++ --> it first access the value pointed by i , then
increment the i ( increments pointer , not value)
| Is This Answer Correct ? | 21 Yes | 2 No |
Post New Answer View All Answers
what is the height of tree if leaf node is at level 3. please explain
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
what is use of malloc and calloc?
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.
Write a C program in Fibonacci series.
write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.
FILE PROGRAMMING
main() { printf("hello"); fork(); }
What is the hardest programming language?
Explain a file operation in C with an example.
Write a code to remove duplicates in a string.
Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given
What does a pointer variable always consist of?
Do you know the purpose of 'register' keyword?
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;