Home C C++ Java Python Perl PHP SQL JavaScript Linux Selenium QT Online Test

Home » Forum » x-Forum » Question

Need explanation for this code-CppBuzz-Forum

#include <stdio.h>
#include <string.h>

int main()
struct xyz{
    char * n;
    int eos;

struct xyz x = {"cppbuzz", 2017};
struct xyz y=x;
printf("%d", printf("%s",y.n));

return 0;

Posted by dhanalakshmi 2020-08-04 02:35:12

I got.First it get the character of x and the number of character in the x.

C++ user image dhanalakshmi posted 2020-08-04 02:49:22

Please login to comment

Log In

Ask New Question