Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
Type your program source Select your Operating System click compile and download your executable file!
This is the C/C++ Online Compiler.
In online compilers (.net) you can find and use online many compilers ( GCC, MINGW, GFORTRAN, JAVA, GPC, FREEBASIC) for the mainstream languages that exist, you can search THE LINUX MANUAL (DEV MAN) PAGES, the JAVA & WIN32 API'S. Also, i have gathered some material to get you started with programming.
Latest User Submitted Question!

Name: weber
Title:
  tfgyuhu
Question:
"putq(s) char *s; {",
  "  printf(\"\\t\\\"\");",
  "  while(*s){",
  "    if(*s == '\"')       printf(\"\\\\\\\"\");",
  "    else if(*s == '\\\\') printf(\"\\\\\\\\\");",
  "    else putchar(*s);",
  "    s  ;",
  "  }",
  "  printf(\"\\\",\\n\");",
  "}",
Answers: Name: W.A.P to check whether given string is valid ident
#include<stdio.h>
#include<conio.h>
#include<ctype.h> 
void main()
{
char a[10]; 
int flag, 
i=1;
clrscr();
printf("\n Enter an identifier:"); 
gets(a);
if(isalpha(a[0]))
flag=1;
else
printf("\n Not a valid identifier"); 
while(a[i]!='\0')
{
if(!isdigit(a[i])

Name: W.A.P to check whether given string is valid ident
#include<stdio.h>
#include<conio.h>
#include<string.h>
#include<ctype.h>
void main()
{
int i=0,flag=0;
char a[10][10]={"int","float","break","long","char","for","if","switch","else","while"},string[10];
clrscr();
printf("Enter a string :");
gets(string);
/*----Checking whether the string is in array a[][]----*/
for(i=0;i<10;i  )      
{
if((strcmp(a[i],string)==0))
flag=1;
}
/*----If it is in the array then it is a keyword----*/
if(flag==1)
printf("\n%s is a keyword ",string);
/*----Otherwise check whether the string is an identifier----*/
else
{
flag=0;
/*----Checking the 1st character*----*/
if((string[0]=='_')||(isalpha(string[0])!=0))
{
/*---Checking rest of the characters*---*/
for(i=1;string[i]!='\0';i  )
if((isalnum(string[i])==0)

Name: 11221122112211fFf
fFf
vckryxjyxc.p;god.l/b:g/o.kdsayzxH/l.kdf/l;j';hgkhdcgjck,
so