fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. //char s[10]="IITR";
  8. //cout<<s<<endl;
  9. //cout<<&(*s)<<endl;
  10. //cout<<&s<<endl;
  11. //cout<<(int *) s;
  12. char str[20]="IITRoorkee";
  13. cout<<str+1<<endl;
  14. //cout<<*(str+1)<<endl;
  15. }
Success #stdin #stdout 0.01s 5316KB
stdin
Standard input is empty
stdout
ITRoorkee