summaryrefslogtreecommitdiff
path: root/testapp/c_cpp_files/sample.c
diff options
context:
space:
mode:
authorprathamesh2013-07-02 13:24:00 +0530
committerprathamesh2013-07-02 13:24:00 +0530
commit217f2c859fc0b2b4a224c009e9cd374989da050e (patch)
treed2fe8128dfb5448a00c3baffab39d50e3e231aa1 /testapp/c_cpp_files/sample.c
parent37625e5c91f2bf957c6739981f7698e0d880b6ed (diff)
downloadonline_test-217f2c859fc0b2b4a224c009e9cd374989da050e.tar.gz
online_test-217f2c859fc0b2b4a224c009e9cd374989da050e.tar.bz2
online_test-217f2c859fc0b2b4a224c009e9cd374989da050e.zip
clean C and Cpp
Diffstat (limited to 'testapp/c_cpp_files/sample.c')
-rwxr-xr-xtestapp/c_cpp_files/sample.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/testapp/c_cpp_files/sample.c b/testapp/c_cpp_files/sample.c
deleted file mode 100755
index 660f862..0000000
--- a/testapp/c_cpp_files/sample.c
+++ /dev/null
@@ -1,20 +0,0 @@
-#include<stdio.h>
-
-void main(int argc , char * argv[])
-{
- int i,sum=0;
-
-/* if(argc!=3)
- {
- printf("you have forgot to type numbers.");
- exit(1);
- }
-*/
- printf("The sum is : ");
-
- for(i=1;i<argc;i++)
- sum = sum + atoi(argv[i]);
-
- printf("%d",sum);
-
-}