Run Code
|
Code Wall
|
Users
|
Misc
|
Feedback
|
About
|
Login
|
Theme
|
Privacy
rstring
Language:
Ada
Assembly
Bash
C#
C++ (gcc)
C++ (clang)
C++ (vc++)
C (gcc)
C (clang)
C (vc)
Client Side
Common Lisp
D
Elixir
Erlang
F#
Fortran
Go
Haskell
Java
Javascript
Kotlin
Lua
MySql
Node.js
Ocaml
Octave
Objective-C
Oracle
Pascal
Perl
Php
PostgreSQL
Prolog
Python
Python 3
R
Ruby
Scala
Scheme
Sql Server
Swift
Tcl
Visual Basic
Layout:
Vertical
Horizontal
#include<stdio.h> #include<string.h> // Function to reverse a string void * reverse(char * str ) { int i, len ; // calculating length of the string len = strlen(str); for( i=len ; i>=0 ; i--) // *(str+i) is the character at the ith index // of the string printf( "%c", *(str+i)); } // Driver code int main( void ) { char a[] = "suleman khan" ; reverse(a); return(0); }
cl.exe
Show compiler warnings
[
+
] Compiler args
[
+
]
Show input
Compilation time: 2 sec, absolute running time: 20,13 sec, absolute service time: 22,15 sec
edit mode
|
history
|
discussion
Error(s):
Process killed because it ran longer than 20 seconds
Enter the number :