#include<stdio.h>
int main()
{
char *ptr;
char string[] = "How are you?";
ptr = string;
ptr += 4;
printf("%s",ptr);
return 0;
}
Answer Posted / manish tiwari
It will increment the char pointer by 4 bytes and now ptr will point to 'a' inside string so it will print "are you?"
Is This Answer Correct ? | 45 Yes | 1 No |
Post New Answer View All Answers
WHAT IS THE PROPER LOCATION OF SAMPLE POINT OF LPG SPHERE TANK?
what is disadvantages of waterfall model ?? industry used which model ??
WHY IBM MAINFRAME TECHNOLOY IS USED.THOUGH, SINCE ITS INTRODUCTION IT HAS NO MAJOR UPDATATION OR MODIFICATION;BUT STILL IT IS IN DEMAND........WWWWWWWWWWWWWWHHHHHYYYYYYYY????????????
Why do windmills never appear stationary?
what is the difference b/w "print" and "sprint" in sql?
What is the weight of a foot square block of bronze.
What is the difference between a .PST file and a .OST file?
what are the various height of GSM mount and its base width ashim.port@gmail.com
Which is better field cad/cam in mechanical or film editing/animation is better salary wise?
what is the difference between embedded system and PLC. Whether the micro controller accept future expansion of program?
Write a program to maintain a singly linked list having the following functions: a) Creation of the list b) Displaying the list. c) Swap all nodes at consecutive even odd positions. E.g.: The nodes at position 1 should be swapped with node 2, node 3 with node 4 and so on.
WAP in Java to print the format A B A B C D E D E
what is a query for divide a table into two subtable?
could i know the selection pattern at hpcl, am an undergradute in chemical technology, but my sujects or course do not figure out antwhere on the lists.
gsm features