You are not logged in. Please login at www.codechef.com to post your questions!

×

The output of this code is whowing 'H' irrespective of input...

include<bits stdc++.h="">

using namespace std;

int main() { // your code goes here int T ; cin>>T ; while(T--){ char S[100] ; scanf ("%[^\n]%*c", S) ; printf("%s",S) ; } return 0; }

asked 08 Jan, 18:13

jschhapola's gravatar image

2★jschhapola
1
accept rate: 0%

toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×169
×138

question asked: 08 Jan, 18:13

question was seen: 63 times

last updated: 08 Jan, 18:13