Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


#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



#include<stdio.h> int main() { char *ptr; char string[] = "How are you?"; ptr =..

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

#include<stdio.h> int main() { char *ptr; char string[] = "How are you?"; ptr =..

Answer / satyarani

if int and return 0 is not there, then the output is are you?

Is This Answer Correct ?    13 Yes 1 No

#include<stdio.h> int main() { char *ptr; char string[] = "How are you?"; ptr =..

Answer / sakura

it should be "are you?are you?"

Is This Answer Correct ?    7 Yes 3 No

#include<stdio.h> int main() { char *ptr; char string[] = "How are you?"; ptr =..

Answer / abarna

The Ans is are You?

Is This Answer Correct ?    2 Yes 2 No

#include<stdio.h> int main() { char *ptr; char string[] = "How are you?"; ptr =..

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

Post New Answer

More Engineering AllOther Interview Questions

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

0 Answers   Datamatics,


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.

0 Answers  


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)?

0 Answers  


plz send me interview questions & answers of Data Structure

0 Answers  


what is static identifier in c language?

0 Answers  


wat is the usual number of bits transmitted simultaneously in parallel data transmission used by microcomputers?

2 Answers   iNautix,


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?

0 Answers  


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.

1 Answers   Meritas,


How is the parity flag actually set in the 8085 microprocessor?

0 Answers  


which is your dream company and why?

2 Answers   Honeywell, IBM,


Describe circular polarization?

2 Answers  


what is the quantity of cement and sand in 1 sq.m (mortar ratio ) a, 1:4 b, 1:3 c, 1:6

0 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5086)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4456)
  • Electrical Engineering Interview Questions Electrical Engineering (16639)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)