-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchk.c
More file actions
38 lines (30 loc) · 768 Bytes
/
chk.c
File metadata and controls
38 lines (30 loc) · 768 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#include <stdio.h>
#include "headers.h"
int main()
{
// char str[] = "hello aaditya yes";
// char* token = strtok(str, " ");
// char* token1 = strtok(NULL, " ");
// char* token2 = strtok(NULL, " ");
// char* token3 = strtok(NULL, " ");
// printf("%s",token2);
// if(strcmp(token2,"yes") == 0)
// {
// printf("dsasd");
// }
// char str[1000]= "[";
// int cnt = 5;
// str.append("2");
char *t = "59";
int y;
y = atoi(t);
printf("%d",y);
// while (token != NULL)
// {
// // printf("%s\n", token);
// strcpy(temp[var1],token);
// var1++;
// // inputgiven(token);
// token = strtok(NULL, ";");
// }
}