Open akpmohan07 opened 3 years ago
Language: C On using Remove all Comments Source: #include<stdio.h> int main(){ char s1[] = "qwf"; char s2[] = "/*bef*/"; char s3[] = "//ef"; /*bef*/ //ef } Output: #include<stdio.h> int main(){ char s1[] = "qwf"; char s2[] = "/*bef*/"; char s3[] = " }
#include<stdio.h> int main(){ char s1[] = "qwf"; char s2[] = "/*bef*/"; char s3[] = "//ef"; /*bef*/ //ef }
#include<stdio.h> int main(){ char s1[] = "qwf"; char s2[] = "/*bef*/"; char s3[] = " }
The value assigned to s3 should not be removed.
@akpmohan07 Please use block code formatting (tripple backtick), your code is not single line
Language: C On using Remove all Comments Source:
#include<stdio.h> int main(){ char s1[] = "qwf"; char s2[] = "/*bef*/"; char s3[] = "//ef"; /*bef*/ //ef }
Output:#include<stdio.h> int main(){ char s1[] = "qwf"; char s2[] = "/*bef*/"; char s3[] = " }
The value assigned to s3 should not be removed.