#include<iostream.h>
void main()
{
cout<<"hello";
}
//IF WE COMPILE THIS PROGRAMME IT WILL NOT PRINT HELLO ON U'R SCREEN.TELL ME WHY & TELL ME PROCEDURE HOW IT PRINT USING COUT IN VC++
Sukhbir
0
Light Poster
Recommended Answers
Jump to Post#include<iostream.h> // deprecated header void main() // wrong, wrong, wrong, wrong, wrong, wrong { cout<<"hello"; // a similar issue in C }
//IF WE COMPILE THIS PROGRAMME IT WILL NOT PRINT HELLO ON U'R SCREEN.TELL ME WHY & TELL ME PROCEDURE HOW IT PRINT USING COUT IN …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.