1
  • C++ code string storage

    When you build a simple string in C++ like: void f() { char *c = "Hello World!" } Where is it stored and what are its properties?

    ITKE344,820 pointsBadges:
  • Input String

    #include "stdafx.h" #include <iostream> #include <stdio.h> using namespace std; void main() { char line[33]; int no; cout<<"Enter no"; cin>>no; cout<<"Enter text"; gets(line); } When i run this code in Visual C++ 2008 using Ctrl + F5 Output comes as: Enter no 3 Enter...

    Sunveer5 pointsBadges:
1

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following