LEC04_EX01 - while (name[k] != '\0'){ cout<<name[k];...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#include <iostream> using namespace std; u int main() { char name[] = "Steve Smith"; int k=0;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: while (name[k] != '\0'){ cout<<name[k]; k++; } cout<<endl; c return 0; }...
View Full Document

This note was uploaded on 02/20/2011 for the course ENGR 127 taught by Professor Hunter,eleswarapu,cortez during the Spring '11 term at Rutgers.

Ask a homework question - tutors are online