Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. 96gfeeinte

    Union and struct

    hi, i m a beginner in C & i hav a doubt regarding structures. the code i tried is: /* code beginning */ struct s{ int i; char c; }m = {1,'A');//if any syntax errors... sry main() { struct s *p; printf ("%d, %c, %d\n", *p, p->i); } /* code end */ o/p: 1 A 1 /***********************/ my doubt...
  2. 96gfeeinte

    Interview question

    hi, explaination to above Q is in book:object oriented programming - Balaguruswamy
  3. 96gfeeinte

    hi guys I am reading a file and pri

    hi, as per my knowledge goes i m answering........ here in pgm, in do (c = ..) u hav used fgetc once which will get the character pointed by f1 & thats printed using printf.but again in while(fgetc ...) u r getting char but not printing it & when control goes back to do(..), its getting char...
  4. 96gfeeinte

    changing an int to string??

    hi, there is no standard library function for itoa(reverse of atoi). but u can get code for itoa function in k & ritchie text book on C.try converting that code to c++ & use it. i think it may help u out...
  5. 96gfeeinte

    how to print address of a string.

    hi friends, i hav just started learning c++.i hav a pgm in C.but i don't know how to do the same in c++.so, can anyone help me out?????? the pgm in C is: main () { char s[10] = "GOOD"; printf ("%s, %u, %u\n", s, s, "GOOD"); } o/p: GOOD, 1324568(addres...

Part and Inventory Search

Back
Top