#include<stdio.h>
int main()
{
char *ptr;
char string[] = "How are you?";
ptr = string;
ptr += 4;
printf("%s",ptr);
return 0;
}
Answers were Sorted based on User's Feedback
Answer / 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 ? | 48 Yes | 1 No |
Answer / satyarani
if int and return 0 is not there, then the output is are you?
| Is This Answer Correct ? | 13 Yes | 1 No |
Answer / subbu
It should be How are you?,
because the pgm didnt mention abt the ptr += 4; statement in the printf("%s",ptr);
if it like ths printf("%s",ptr +);then the ans is are you?
if i am wrong sorry and check ths..thank u..
| Is This Answer Correct ? | 3 Yes | 10 No |
hi this is amit..please help me to out this problem Objective 8: Create Resources (Function libraries) Requirements: Create a new order with the Flight Reservation application. 33. Use the script created above. 34. Write a function using VBScript that will take a date as an input and add 10 to it. i.e. if the date is passed as “15/08/2008” then after adding 10 it should become as “25/08/2008” 35. Use this function to parameterize the step used to enter “Date of Flight” 36. Run the pack thanx & regards
Dear frds In my office we are using chiller . in that chiller inlet and outlet water diff. is 2.5 decgree always. if i intduce the cooling tower can i get good result in chiller Inlet water. reply plz.
what is Pick map and what is the use of it? I want to configure a MVG applet on a filed in opportunity form applet. and when i select fields from MVG , it should reflect on the form applet(means there should be changes on fields in MVG according to Field select from MVG appler). Is this possible (with MVG or Picklist)?
plz send me interview questions & answers of Data Structure
what is static identifier in c language?
wat is the usual number of bits transmitted simultaneously in parallel data transmission used by microcomputers?
as a student of b.tech 2nd yr which is the best place for me to do my summer training and plz also tell me the complete procedure for the entrance?
ABOUT US We, the Meritas Team, is a group of committed and hardworking professional techies, trainers and business consultants. We create, improvise and adapt the best practices in training industry to help our students to standout in the job market to get placed fast. Once a student joins with us, we impart the best possible technical real-time training. Along with that we give utmost care to groom his/her communication, leadership, interpersonal and language skills. We have a committed team of professional HR professionals to help our students to find their dream jobs as soon as they finish their courses.
How is the parity flag actually set in the 8085 microprocessor?
which is your dream company and why?
Describe circular polarization?
what is the quantity of cement and sand in 1 sq.m (mortar ratio ) a, 1:4 b, 1:3 c, 1:6
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)