How to define a variable using another variable.Actually I want a whole string but that string should contain data from another variable.
#include <stdio.h> char *Data1 = "23"; char *Data2 = "267"; char *Data = ("www.mywebsite.com?c=%s&v=%s", Data1, Data2); int main() { printf(Data); return 0; }