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 argument of a function in c?
What is a file descriptor in c?
What is data structure in c and its types?
What is the advantage of a random access file?
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
What is a static function in c?
What is string concatenation in c?
What does c mean in basketball?
Which header file should you include if you are to develop a function which can accept variable number of arguments?
write a program to display all prime numbers
What is volatile c?
Write a code to determine the total number of stops an elevator would take to serve N number of people.
What is the benefit of using an enum rather than a #define constant?